From 455132dc534cec57a100adabbb22cc30151777d1 Mon Sep 17 00:00:00 2001 From: Fabrizio Sestito Date: Thu, 2 Nov 2023 08:16:08 +0100 Subject: [PATCH] ci: fix nif version Signed-off-by: Fabrizio Sestito --- .github/workflows/release.yaml | 2 +- native/rhai_rustler/Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b62e46f..4475c2c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - nif: ["2.16", "2.15", "2.14"] + nif: ["2.17", "2.16", "2.15"] 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 } diff --git a/native/rhai_rustler/Cargo.toml b/native/rhai_rustler/Cargo.toml index ed3ea35..a7ab736 100644 --- a/native/rhai_rustler/Cargo.toml +++ b/native/rhai_rustler/Cargo.toml @@ -14,3 +14,8 @@ rhai = { version = "=1.16.3", features = ["sync"] } rhai-dylib = { version = "0.1.12", features = ["sync"] } thiserror = "1.0.50" rustler = "0.30.0" + +[features] +nif_version_2_15 = ["rustler/nif_version_2_15"] +nif_version_2_16 = ["rustler/nif_version_2_16"] +nif_version_2_17 = ["rustler/nif_version_2_17"]