Skip to content

test(save-dir): skip the hard-link test on sandboxed (WASI) hosts - #42

Merged
zackees merged 1 commit into
mainfrom
test/save-dir-skip-sandboxed
Sep 30, 2026
Merged

zackees merged 1 commit into
mainfrom
test/save-dir-skip-sandboxed

Conversation

@zackees

@zackees zackees commented Sep 30, 2026

Copy link
Copy Markdown
Owner

WASI has no temp dir, so tempfile::tempdir() in copying_over_a_hard_link_to_the_source_keeps_the_source panics under the wasm32-wasip1 test run. Skip it on sandboxed hosts using the same early-return idiom as the temp-dir tests in args/elf.rs. Mirrors the fix pushed to wild-linker#2628.

WASI has no temp dir, so tempfile::tempdir() panics there. Use the same
SANDBOXED early return as the other temp-dir tests.
@zackees
zackees merged commit caf6674 into main Sep 30, 2026
25 checks passed
@zackees
zackees deleted the test/save-dir-skip-sandboxed branch September 30, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant