fix feature-gate test for may_unwind

This commit is contained in:
cynecx 2021-11-30 11:36:55 +01:00
parent 233dede5b6
commit afdafcbcf8
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// only-x86_64
#![feature(asm)]
fn main() {

View File

@ -1,5 +1,5 @@
error[E0658]: the `may_unwind` option is unstable
--> $DIR/feature-gate-asm_unwind.rs:5:9
--> $DIR/feature-gate-asm_unwind.rs:7:9
|
LL | asm!("", options(may_unwind));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^