Skip to content

Commit

Permalink
feat: fix musl error and replace release github flow
Browse files Browse the repository at this point in the history
  • Loading branch information
aokblast committed Jul 24, 2023
1 parent 5d31c74 commit c33deda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-gnu]
target: [x86_64-unknown-linux-musl]
steps:
- uses: actions/checkout@master
- name: Compile and release
Expand Down
2 changes: 2 additions & 0 deletions src/lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ fn run_inner(mut judger: impl Judger, mut env: Env) {
ru_nsignals: 0,
ru_nvcsw: 0,
ru_nivcsw: 0,
#[cfg(any(target_env = "musl", target_env = "ohos", target_os = "emscripten"))]
__reserved: [c_long; 16],
};

let mut stat = 0;
Expand Down

0 comments on commit c33deda

Please sign in to comment.