Skip to content

Commit

Permalink
Fix some --target mistakes from bytecodealliance#9802
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 12, 2024
1 parent 0058cb7 commit ea6a46c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples-minimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ $ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
$ export CARGO_PROFILE_RELEASE_STRIP=debuginfo
$ export RUSTFLAGS="-Zlocation-detail=none"
$ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging \
-Z build-std=std,panic_abort --target aarch64-apple-darwin
-Z build-std=std,panic_abort --target x86_64-unknown-linux-gnu
$ ls -lh target/x86_64-unknown-linux-gnu/release/libwasmtime.so
-rwxrwxr-x 2 alex alex 941K Dec 12 07:52 target/x86_64-unknown-linux-gnu/release/libwasmtime.so
```
Expand All @@ -210,7 +210,7 @@ $ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
$ export CARGO_PROFILE_RELEASE_STRIP=debuginfo
$ export RUSTFLAGS="-Zlocation-detail=none"
$ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging \
-Z build-std=std,panic_abort --target aarch64-apple-darwin \
-Z build-std=std,panic_abort --target x86_64-unknown-linux-gnu \
-Z build-std-features=
$ ls -lh target/x86_64-unknown-linux-gnu/release/libwasmtime.so
-rwxrwxr-x 2 alex alex 784K Dec 12 07:53 target/x86_64-unknown-linux-gnu/release/libwasmtime.so
Expand All @@ -228,7 +228,7 @@ $ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
$ export CARGO_PROFILE_RELEASE_STRIP=debuginfo
$ export RUSTFLAGS="-Zlocation-detail=none"
$ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging \
-Z build-std=std,panic_abort --target aarch64-apple-darwin \
-Z build-std=std,panic_abort --target x86_64-unknown-linux-gnu \
-Z build-std-features=panic_immediate_abort
$ ls -lh target/x86_64-unknown-linux-gnu/release/libwasmtime.so
-rwxrwxr-x 2 alex alex 698K Dec 12 07:54 target/x86_64-unknown-linux-gnu/release/libwasmtime.so
Expand Down

0 comments on commit ea6a46c

Please sign in to comment.