Skip to content

Commit eb37e23

Browse files
authored
Fix runtime_test, signature_util_test, and WasmedGE macOS build failures
1 parent 03f4941 commit eb37e23

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ jobs:
244244
os: macos-15
245245
arch: x86_64
246246
action: test
247-
flags: --config=hermetic-llvm
247+
flags: --config=hermetic-llvm-macos
248248
- name: 'Wasmtime on Linux/x86_64'
249249
engine: 'wasmtime'
250250
repo: 'com_github_bytecodealliance_wasmtime'
@@ -363,7 +363,7 @@ jobs:
363363
--define engine=${{ matrix.engine }}
364364
--disk_cache /tmp/bazel/cache
365365
${{ matrix.flags }}
366-
--per_file_copt=src/signature_util.cc,test/signature_util_test.cc@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -c3-)\"
366+
--per_file_copt=src/signature_util.cc,test/signature_util_test.cc@-DPROXY_WASM_VERIFY_WITH_ED25519_PUBKEY=\"$(xxd -p -c 256 test/test_data/signature_key1.pub | cut -c3- | tr -d '\n')\"
367367
//test:signature_util_test
368368
369369
- name: remove unaccessed files from cache

test/test_data/trap.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,17 @@ pub extern "C" fn trigger2(_val: i32) -> i32 {
3131
0
3232
}
3333

34+
#[inline(never)]
3435
fn one() {
3536
two();
3637
}
3738

39+
#[inline(never)]
3840
fn two() {
3941
three();
4042
}
4143

42-
fn three(){
44+
#[inline(never)]
45+
fn three() {
4346
panic!("trap!");
4447
}

0 commit comments

Comments
 (0)