1
Fork 0

Don't compile with LTO

This commit is contained in:
Jan-Erik Rediger 2020-09-28 17:47:23 +02:00
parent 9a2c0c52c5
commit 4577ca5510
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ test_script:
)
before_deploy:
- cargo rustc --target %TARGET% --release --bin mdbook-toc -- -C lto
- cargo rustc --target %TARGET% --release --bin mdbook-toc
- ps: ci\before_deploy.ps1
deploy:

View file

@ -17,7 +17,7 @@ main() {
test -f Cargo.lock || cargo generate-lockfile
cross rustc --bin mdbook-toc --target $TARGET --release -- -C lto
cross rustc --bin mdbook-toc --target $TARGET --release
cp target/$TARGET/release/mdbook-toc $stage/