-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 6 pull requests #118687
Rollup of 6 pull requests #118687
Commits on Nov 22, 2023
-
Arlie Davis committed
Nov 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 6773fd1 - Browse repository at this point
Copy the full SHA 6773fd1View commit details -
Arlie Davis committed
Nov 22, 2023 Configuration menu - View commit details
-
Copy full SHA for 84bc8f0 - Browse repository at this point
Copy the full SHA 84bc8f0View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d1009a4 - Browse repository at this point
Copy the full SHA d1009a4View commit details
Commits on Dec 5, 2023
-
Update bootstrap libc to 0.2.150
Version 0.2.150 include support for the new check-cfg syntax
Configuration menu - View commit details
-
Copy full SHA for 801bc56 - Browse repository at this point
Copy the full SHA 801bc56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b4fe38 - Browse repository at this point
Copy the full SHA 9b4fe38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a94239 - Browse repository at this point
Copy the full SHA 9a94239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f0369e - Browse repository at this point
Copy the full SHA 3f0369eView commit details
Commits on Dec 6, 2023
-
Two places called `from_utf8_unchecked` for strings from `alloc_slice`, and one's SAFETY comment said this was for lack of `alloc_str` -- so let's just add that instead!
Configuration menu - View commit details
-
Copy full SHA for 92bf40f - Browse repository at this point
Copy the full SHA 92bf40fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f14e8e - Browse repository at this point
Copy the full SHA 0f14e8eView commit details -
Fix
is_foreign_item
for StableMIR instanceChange the implementation of `Instance::is_foreign_item` to directly query the compiler for the instance `def_id` instead of incorrectly relying on the conversion to `CrateItem`. Background: - In pull rust-lang#118524, I fixed the conversion from Instance to CrateItem to avoid the conversion if the instance didn't have a body available. This broke the `is_foreign_item`.
Configuration menu - View commit details
-
Copy full SHA for 1bcd162 - Browse repository at this point
Copy the full SHA 1bcd162View commit details -
Also add an API to check if an instance has body
This is much cheaper than building a body just for the purpose of checking if the body exists.
Configuration menu - View commit details
-
Copy full SHA for 4a75d18 - Browse repository at this point
Copy the full SHA 4a75d18View commit details -
Rollup merge of rust-lang#117981 - Urgau:check-cfg-remove-deprecated-…
…syntax, r=b-naber Remove deprecated `--check-cfg` syntax This PR removes the deprecated `--check-cfg` `names(...)` and `values(...)` syntax. Follow up to rust-lang#111072 Part of rust-lang/compiler-team#636 r? compiler
Configuration menu - View commit details
-
Copy full SHA for f546b44 - Browse repository at this point
Copy the full SHA f546b44View commit details -
Rollup merge of rust-lang#118177 - sivadeilra:suppress-llvm-warnings,…
… r=cuviper Suppress warnings in LLVM wrapper when targeting MSVC The LLVM header files generate many warnings when compiled using MSVC. This makes it difficult to work on the LLVM wrapper code, because the warnings and errors that are relevant to local edits are obscured by the hundreds of lines of warnings from the LLVM Headers.
Configuration menu - View commit details
-
Copy full SHA for 78d2061 - Browse repository at this point
Copy the full SHA 78d2061View commit details -
Rollup merge of rust-lang#118317 - bvanjoi:fix-118295, r=petrochenkov
tip for define macro name after `macro_rules!` Fixes rust-lang#118295 ~Note that there are some bad case such as `macro_rules![]` or `macro_rules!()`. However, I think these are acceptable as they are likely to be seldom used (feel free to close this if you think its shortcomings outweigh its benefits)~ Edit: this problem was resolved by utilizing the `source_map.span_to_next_source`. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for aefbbc6 - Browse repository at this point
Copy the full SHA aefbbc6View commit details -
Rollup merge of rust-lang#118504 - compiler-errors:must-use, r=Waffle…
…Lapkin Enforce `must_use` on associated types and RPITITs that have a must-use trait in bounds Warn when an RPITIT or (un-normalized) associated type with a `#[must_use]` trait in its bounds is unused. This is pending T-lang approval, since it changes the semantics of the `#[must_use]` attribute slightly, but I think it strictly catches more strange errors. I could also limit this to just RPITITs, but that seems less useful. Fixes rust-lang#118444
Configuration menu - View commit details
-
Copy full SHA for 1b391d4 - Browse repository at this point
Copy the full SHA 1b391d4View commit details -
Rollup merge of rust-lang#118660 - cuviper:alloc_str, r=petrochenkov
rustc_arena: add `alloc_str` Two places called `from_utf8_unchecked` for strings from `alloc_slice`, and one's SAFETY comment said this was for lack of `alloc_str` -- so let's just add that instead!
Configuration menu - View commit details
-
Copy full SHA for cf78a79 - Browse repository at this point
Copy the full SHA cf78a79View commit details -
Rollup merge of rust-lang#118681 - celinval:fix-foreign-item, r=ouz-a
Fix is_foreign_item for StableMIR instance Change the implementation of `Instance::is_foreign_item` to directly query the compiler for the instance `def_id` instead of incorrectly relying on the conversion to `CrateItem`. I also added a method to check if the instance has body, since the function already existed and it just wasn't exposed via public APIs. This makes it much cheaper for the user to check if the instance has body. ## Background: - In pull rust-lang#118524, I fixed the conversion from Instance to CrateItem to avoid the conversion if the instance didn't have a body available. This broke the `is_foreign_item`. r? `@ouz-a`
Configuration menu - View commit details
-
Copy full SHA for 3c1357c - Browse repository at this point
Copy the full SHA 3c1357cView commit details