Don't ignore warnings, remove fuse-ld arg

see https://github.com/rust-lang/cargo/issues/8010 on why I removed RUSTFLAGS="-Awarnings"
This commit is contained in:
Anton-4 2022-05-20 12:02:54 +02:00 committed by GitHub
parent b54c1e2bc5
commit 063f7d4a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,8 @@ echo 'Generating docs...'
cargo --version cargo --version
rustc --version rustc --version
# We set RUSTFLAGS to -Awarnings to ignore warnings during this build, # removing `-C link-arg=-fuse-ld=lld` from RUSTFLAGS because this causes an error when compiling `roc_repl_wasm`
# because when building without "the" llvm feature (which is only ever done RUSTFLAGS="-C target-cpu=native"
# for this exact use case), the result is lots of "unused" warnings!
RUSTFLAGS=-Awarnings
# We set ROC_DOCS_ROOT_DIR=builtins so that links will be generated relative to # We set ROC_DOCS_ROOT_DIR=builtins so that links will be generated relative to
# "/builtins/" rather than "/" - which is what we want based on how the server # "/builtins/" rather than "/" - which is what we want based on how the server