diff --git a/waterbox/waterboxhost/src/calling_convention_adapters.rs b/waterbox/waterboxhost/src/calling_convention_adapters.rs index d7f7ef002a..7a2f0dc690 100644 --- a/waterbox/waterboxhost/src/calling_convention_adapters.rs +++ b/waterbox/waterboxhost/src/calling_convention_adapters.rs @@ -1,5 +1,7 @@ // These are mostly unrelated to Waterbox, and are only here because I was too lazy to put them elsewhere. +use std::arch::asm; + /// win64 function that calls a sysv64 function and returns its result. /// The function is passed as a hidden parameter in rax, and should take 0 arguments, all of which are pointer or integer type. #[no_mangle] diff --git a/waterbox/waterboxhost/src/lib.rs b/waterbox/waterboxhost/src/lib.rs index 40bc30b591..bde1c48b8b 100644 --- a/waterbox/waterboxhost/src/lib.rs +++ b/waterbox/waterboxhost/src/lib.rs @@ -4,7 +4,6 @@ #![feature(never_type)] #![feature(control_flow_enum)] #![feature(core_intrinsics)] -#![feature(asm)] #![feature(map_first_last)] #![allow(dead_code)]