Skip to content

Commit

Permalink
Use Rust 1.81 to build FFI
Browse files Browse the repository at this point in the history
Signed-off-by: Shaobo He <shaobohe@amazon.com>
  • Loading branch information
shaobo-he-aws committed Nov 4, 2024
1 parent dcdc73a commit 584064c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/run_cedar_java_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
ref: ${{ inputs.cedar_policy_ref }}
path: ./cedar
- name: Prepare Rust Build
# zigbuild issue: rust-cross/cargo-zigbuild#289
run: rustup install 1.81 && rustup default 1.81 && rustup component add rustfmt
run: rustup install stable && rustup default stable
- name: Configure CedarJavaFFI for CI build
run: bash configure_ci_build.sh
- name: Check FFI Formatting
Expand Down
3 changes: 3 additions & 0 deletions CedarJavaFFI/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# zigbuild currently does not work on Rust 1.82 (rust-cross/cargo-zigbuild#289)
[toolchain]
channel = "1.81"

0 comments on commit 584064c

Please sign in to comment.