Closed
Description
$ rustc -V
rustc 1.36.0-nightly (7d5aa4332 2019-05-16)
$ git clone https://github.com/bjorn3/rust.git
$ git checkout 1ce79d6630a6851fc85c0d6d0be40ee618fdcebf
$ cd src/rustc
$ CFG_COMPILER_HOST_TRIPLE="wasm32-wasi" RUSTC_ERROR_METADATA_DST="./error_metadata" RUSTFLAGS="-Zforce-unstable-if-unmarked" cargo +nightly build --target wasm32-wasi --release
[...]
Compiling backtrace v0.3.18
LLVM ERROR: Function addresses with offsets not supported
error: Could not compile `backtrace`.
warning: build failed, waiting for other jobs to finish...
error: build failed
bjorn3@1ce79d6 (to prevent gc of the commit)
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
bjorn3 commentedon Sep 27, 2020
I assume this has since been fixed. The last time I tried compiling rustc for wasm32-wasi it worked just fine.