Skip to content

Commit

Permalink
update nif version
Browse files Browse the repository at this point in the history
  • Loading branch information
Moosieus committed Dec 29, 2023
1 parent fbcf414 commit d4539c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
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:
nif: ["2.16", "2.15"]
nif: ["2.17", "2.16", "2.15", "2.14"]
job:
- { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04 , use-cross: true }
- { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true }
Expand Down
2 changes: 1 addition & 1 deletion native/bzip2_decomp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ path = "src/lib.rs"
crate-type = ["cdylib"]

[dependencies]
rustler = { version = "0.30.0", default-features = false, features = ["derive", "nif_version_2_17"] }
rustler = { version = "0.30.0", default-features = false, features = ["derive", "nif_version_2_14"] }
bzip2-rs = { git = "https://github.com/paolobarbolini/bzip2-rs.git", rev = "82e3cbb4ea6cb4249a43f90b06ae1a5e94f06a9f"}
6 changes: 6 additions & 0 deletions native/bzip2_decomp/Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# https://hexdocs.pm/rustler_precompiled/precompilation_guide.html#additional-configuration-before-build
# Ostensibly we don't need this, but actions is yelling at me so I'm adding it.
[build.env]
passthrough = [
"RUSTLER_NIF_VERSION"
]

0 comments on commit d4539c2

Please sign in to comment.