fix(fspy): support OpenHarmony aarch64 build target#426
Closed
social4hyq wants to merge 1 commit into
Closed
Conversation
This was referenced Jun 5, 2026
Closed
social4hyq
pushed a commit
to social4hyq/vite-plus
that referenced
this pull request
Jun 5, 2026
shared_memory PR is elast0ny/shared_memory#118; vite-task PR is voidzero-dev/vite-task#426.
4323f5e to
43e3e06
Compare
41fa3ef to
9102fdf
Compare
- Gate execveat + naked_asm! for OHOS compatibility - Exclude fspy_seccomp_unotify + fspy_shared_unix on OHOS - Add OHOS stub module for fspy os_impl - Patch shared_memory to fork (nix 0.30)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two minimal
#[cfg]gates and a dependency patch so the workspace compilesunder
target_env = "ohos".Changes (3 files, +9/-2)
crates/fspy_preload_unix/src/interceptions/spawn/exec/mod.rs—gate
execveatinterpose onnot(target_env = "ohos")crates/fspy_preload_unix/src/macros/linux.rs—gate
naked_asm!interposes ontarget_arch = "aarch64"Cargo.toml—patch
shared_memoryto fork with nix 0.30 upgrade(upstream: Bump nix 0.23 -> 0.30 for OpenHarmony (and current libc) compatibility elast0ny/shared_memory#118)