Fix windows

This commit is contained in:
Jasper Bekkers 2020-08-14 15:19:00 +01:00
parent 541e5701e6
commit 9ff186606d
No known key found for this signature in database
GPG Key ID: C59CE25F4DA6625D
3 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,8 @@
setlocal
cargo build
set RUSTFLAGS=-Zcodegen-backend=%cd%/target/debug/rustc_codegen_spirv.dll
pushd build_libcore_test
xargo build --target wasm32-unknown-unknown
popd

View File

@ -1 +1,4 @@
rustup +nightly component add rust-src rustc-dev llvm-tools-preview
rustup install nightly-2020-07-26
rustup default nightly-2020-07-26
rustup component add rust-src rustc-dev llvm-tools-preview
rustup target add wasm32-unknown-unknown

View File

@ -11,6 +11,8 @@ extern crate rustc_session;
extern crate rustc_span;
extern crate rustc_symbol_mangling;
extern crate rustc_target;
extern crate rustc_interface;
extern crate rustc_driver;
use rustc_codegen_ssa::traits::CodegenBackend;
use rustc_data_structures::owning_ref::OwningRef;