Skip to content
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 needs-asm-support to invalid-sym-operand #5

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

folkertdev
Copy link

I think this'll fix it? at least this seems to work for the other tests that use the asm! macro. the failure was due to

2024-08-02T18:22:20.9620865Z error[E0658]: inline assembly is not stable yet on this architecture
2024-08-02T18:22:20.9621812Z ##[error]  --> /checkout/tests/ui/asm/invalid-sym-operand.rs:8:1
2024-08-02T18:22:20.9622770Z    |
2024-08-02T18:22:20.9623048Z LL | global_asm!("{}", sym main);
2024-08-02T18:22:20.9623658Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-02T18:22:20.9624019Z    |
2024-08-02T18:22:20.9624628Z    = note: see issue #93335 <https://github.com/rust-lang/rust/issues/93335> for more information
2024-08-02T18:22:20.9625415Z    = help: add `#![feature(asm_experimental_arch)]` to the crate attributes to enable
2024-08-02T18:22:20.9626270Z    = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date

@Amanieu Amanieu merged commit eb726a5 into Amanieu:const-asm-type Aug 2, 2024
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants