Don't compile with LTO
This commit is contained in:
parent
9a2c0c52c5
commit
4577ca5510
|
@ -33,7 +33,7 @@ test_script:
|
||||||
)
|
)
|
||||||
|
|
||||||
before_deploy:
|
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
|
- ps: ci\before_deploy.ps1
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|
|
@ -17,7 +17,7 @@ main() {
|
||||||
|
|
||||||
test -f Cargo.lock || cargo generate-lockfile
|
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/
|
cp target/$TARGET/release/mdbook-toc $stage/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue