-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #128297
Rollup of 6 pull requests #128297
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ceec6dd - Browse repository at this point
Copy the full SHA ceec6ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd3632 - Browse repository at this point
Copy the full SHA 4bd3632View commit details -
improve error message when
#[naked]
is used with `#[track-caller] a……nd `#[target-feature]``
Configuration menu - View commit details
-
Copy full SHA for 7e6c083 - Browse repository at this point
Copy the full SHA 7e6c083View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d082b7 - Browse repository at this point
Copy the full SHA 4d082b7View commit details
Commits on Jul 27, 2024
-
switch to an allowlist approach
- merge error codes - use attribute name that is incompatible in error message - add test for conditional incompatible attribute - add `linkage` to the allowlist
Configuration menu - View commit details
-
Copy full SHA for c6a166b - Browse repository at this point
Copy the full SHA c6a166bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bb010 - Browse repository at this point
Copy the full SHA a3bb010View commit details -
Configuration menu - View commit details
-
Copy full SHA for bad25e3 - Browse repository at this point
Copy the full SHA bad25e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e688e - Browse repository at this point
Copy the full SHA c7e688eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad05195 - Browse repository at this point
Copy the full SHA ad05195View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e408e - Browse repository at this point
Copy the full SHA c9e408eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec0b354 - Browse repository at this point
Copy the full SHA ec0b354View commit details
Commits on Jul 28, 2024
-
rustc book: document how the RUST_TARGET_PATH variable is used
based on the module comment in rust/compiler/rustc_target/src/spec/mod.rs Fixes rust-lang#128280
Configuration menu - View commit details
-
Copy full SHA for 5eea6d7 - Browse repository at this point
Copy the full SHA 5eea6d7View commit details -
Rollup merge of rust-lang#127853 - folkertdev:naked-function-error-me…
…ssages, r=bjorn3 `#[naked]`: report incompatible attributes tracking issue: rust-lang#90957 this is a re-implementation of rust-lang#93809 by `@bstrie` which was closed 2 years ago due to inactivity. This PR takes some of the final comments into account, specifically providing a little more context in error messages, and using an allow list to determine which attributes are compatible with `#[naked]`. Notable attributes that are incompatible with `#[naked]` are: * `#[inline]` * `#[track_caller]` * ~~`#[target_feature]`~~ (this is now allowed, see PR discussion) * `#[test]`, `#[ignore]`, `#[should_panic]` These attributes just directly conflict with what `#[naked]` should do. Naked functions are still important for systems programming, embedded, and operating systems, so I'd like to move them forward.
Configuration menu - View commit details
-
Copy full SHA for bcb18a8 - Browse repository at this point
Copy the full SHA bcb18a8View commit details -
Rollup merge of rust-lang#128228 - slanterns:const_waker, r=dtolnay
Stabilize `const_waker` Closes: rust-lang#102012. For `local_waker` and `context_ext` related things, I just ~~moved them to dedicated feature gates and reused their own tracking issue (maybe it's better to open a new one later, but at least they should not be tracked under rust-lang#102012 from the beginning IMO.)~~ reused their own feature gates as suggested by `@tgross35.` `@rustbot` label: +T-libs-api r? libs-api
Configuration menu - View commit details
-
Copy full SHA for 78883da - Browse repository at this point
Copy the full SHA 78883daView commit details -
Rollup merge of rust-lang#128276 - ehuss:rustbook-readme, r=Kobzol
Add a README to rustbook to explain its purpose This adds a README to the rustbook tool to help explain what it is for and how to use it.
Configuration menu - View commit details
-
Copy full SHA for aa07def - Browse repository at this point
Copy the full SHA aa07defView commit details -
Rollup merge of rust-lang#128279 - slanterns:is_sorted, r=dtolnay
Stabilize `is_sorted` Closes: rust-lang#53485. ~~Question: does~~ https://github.com/rust-lang/rust/blob/8fe0c753f23e7050b87a444b6622caf4d2272d5d/compiler/rustc_lint_defs/src/builtin.rs#L1986-L1994 ~~need a new example?~~ edit: It causes a test failure and needs to be changed anyway. `@rustbot` label: +T-libs-api r? libs-api
Configuration menu - View commit details
-
Copy full SHA for 5b59640 - Browse repository at this point
Copy the full SHA 5b59640View commit details -
Rollup merge of rust-lang#128282 - pitaj:nonzero_bitwise, r=workingju…
…bilee bitwise and bytewise methods on `NonZero` Implementation for `nonzero_bitwise` Tracking issue rust-lang#128281 ACP rust-lang/libs-team#413
Configuration menu - View commit details
-
Copy full SHA for 6644c87 - Browse repository at this point
Copy the full SHA 6644c87View commit details -
Rollup merge of rust-lang#128285 - lolbinarycat:rustc-custom-targets,…
… r=jieyouxu rustc book: document how the RUST_TARGET_PATH variable is used based on the module comment in rust/compiler/rustc_target/src/spec/mod.rs Fixes rust-lang#128280
Configuration menu - View commit details
-
Copy full SHA for 0b4d21b - Browse repository at this point
Copy the full SHA 0b4d21bView commit details