Skip to content

Commit bdd0c11

Browse files
committed
Check and build the example for the default native target
1 parent e64c8ab commit bdd0c11

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ cd -
2222

2323
cd ./example
2424

25+
cargo build
26+
cargo build --features size_classes
27+
2528
cargo build --release --target wasm32-unknown-unknown
2629

2730
wasm-gc ../target/wasm32-unknown-unknown/release/wee_alloc_example.wasm \

check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ cargo check --features size_classes
2121
cd -
2222

2323
cd ./example
24+
cargo check
25+
cargo check --features size_classes
2426
cargo check --target wasm32-unknown-unknown
2527
cargo check --features size_classes --target wasm32-unknown-unknown
2628
cd -

0 commit comments

Comments
 (0)