Code
wasmtime crate fails to compile on ubuntu 20.04 using the lastest rustc nightly: rustc 1.59.0-nightly (f8abed9ed 2021-12-26)
I've got a bunch of errors related to asm macro, the errors messages are the same except pointing to the different code positions.
Here is an example:
error: cannot find macro `asm` in this scope
--> /home/kai/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.26.2/src/imp/linux_raw/arch/inline/x86_64.rs:63:5
|
63 | asm!(
| ^^^
|
= note: consider importing one of these items:
std::arch::asm
core::arch::asm
On MacOs it compiles without any problems.
I expected to see this happen: the compilation succeeds
Instead, this happened: the compilation fails (see error messages above)
How to reproduce
1. cargo init test
2. cd test
3. add the following line to the dependencies part in Cargo.toml:
wasmtime = "0.32.0"
4. cargo build --release -p wasmtime
Version it worked on
It most recently worked on:
nightly-2021-12-12-x86_64-unknown-linux-gnu
Version with regression
rustc --version --verbose:
rustc --version --verbose
rustc 1.59.0-nightly (f8abed9ed 2021-12-26)
binary: rustc
commit-hash: f8abed9ed48bace6be0087bcd44ed534e239b8d8
commit-date: 2021-12-26
host: x86_64-unknown-linux-gnu
release: 1.59.0-nightly
LLVM version: 13.0.0
Those are the versions that were tested. It could be that the regression happened earlier.
Backtrace
Backtrace
Code
wasmtime crate fails to compile on
ubuntu 20.04using the lastest rustc nightly:rustc 1.59.0-nightly (f8abed9ed 2021-12-26)I've got a bunch of errors related to
asmmacro, the errors messages are the same except pointing to the different code positions.Here is an example:
On MacOs it compiles without any problems.
I expected to see this happen: the compilation succeeds
Instead, this happened: the compilation fails (see error messages above)
How to reproduce
Version it worked on
It most recently worked on:
nightly-2021-12-12-x86_64-unknown-linux-gnuVersion with regression
rustc --version --verbose:Those are the versions that were tested. It could be that the regression happened earlier.
Backtrace
Backtrace