-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add features gates for experimental asm features #90348
Conversation
This comment has been minimized.
This comment has been minimized.
a1edb9f
to
4a31aa2
Compare
This comment has been minimized.
This comment has been minimized.
4a31aa2
to
e1256dd
Compare
This comment has been minimized.
This comment has been minimized.
e1256dd
to
509a336
Compare
This comment has been minimized.
This comment has been minimized.
Looks reasonable to me. r=me once it passes CI. |
509a336
to
9ae4989
Compare
This comment has been minimized.
This comment has been minimized.
9ae4989
to
aabfcda
Compare
This comment has been minimized.
This comment has been minimized.
aabfcda
to
53ff09f
Compare
@bors r=joshtriplett |
📌 Commit 53ff09f123d246c2e86ce9aba39027b9dfa82009 has been approved by |
⌛ Testing commit 53ff09f123d246c2e86ce9aba39027b9dfa82009 with merge 5f7f78f5227ff3342c84fe250ac1e9b31a908c51... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
☔ The latest upstream changes (presumably #90516) made this pull request unmergeable. Please resolve the merge conflicts. |
8fabce2
to
752d4ae
Compare
@bors r=joshtriplett rollup=iffy |
📌 Commit b88821c5abbc65dfb17eff7094b4b05e9ed523e6 has been approved by |
⌛ Testing commit b88821c5abbc65dfb17eff7094b4b05e9ed523e6 with merge b0ee314d7a7490dd02bd701d23b5396c8b817e02... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
b88821c
to
df935df
Compare
df935df
to
87d0d64
Compare
@bors r=joshtriplett |
📌 Commit 87d0d64 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (90a273b): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
I know this has already been merged, but I'm a bit concerned about this change. For context, I maintain the More generally, this manner in which this new flag was included seems fraught. As I understand it, any code with a call to I'm not sure how to resolve this. Since there is no support for compile-time detection of the Rust toolchain (that I'm aware of!), it doesn't seem possible to write a library that uses symbol operands, and that can be compiled across this change. Including the cc @ahl |
…=Mark-Simulacrum kmc-solid: Avoid the use of `asm_const` This PR removes the use of [the now-separated-out `asm_const` compiler feature][1] in `std::sys::solid` to fix the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets. [1]: rust-lang#90348
…=Mark-Simulacrum kmc-solid: Avoid the use of `asm_const` This PR removes the use of [the now-separated-out `asm_const` compiler feature][1] in `std::sys::solid` to fix the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) Tier 3 targets. [1]: rust-lang#90348
This PR splits off parts of
asm!
into separate features because they are not ready for stabilization.Specifically this adds:
asm_const
forconst
operands.asm_sym
forsym
operands.asm_experimental_arch
for architectures other than x86, x86_64, arm, aarch64 and riscv.r? @nagisa