Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bindings for riscv64gc-unknown-linux-gnu target #212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
rustup target add aarch64-apple-darwin &&
rustup target add x86_64-unknown-freebsd
rustup target add loongarch64-unknown-linux-gnu
rustup target add riscv64gc-unknown-linux-gnu

- name: Test script
env:
Expand Down
1 change: 1 addition & 0 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUST_BACKTRACE=1 cargo build --target i686-unknown-linux-gnu
RUST_BACKTRACE=1 cargo build --target loongarch64-unknown-linux-gnu
RUST_BACKTRACE=1 cargo build --target powerpc64-unknown-linux-gnu
RUST_BACKTRACE=1 cargo build --target powerpc64le-unknown-linux-gnu
RUST_BACKTRACE=1 cargo build --target riscv64gc-unknown-linux-gnu
RUST_BACKTRACE=1 cargo build --target x86_64-pc-windows-msvc
RUST_BACKTRACE=1 cargo build --target x86_64-apple-darwin
RUST_BACKTRACE=1 cargo build --target aarch64-apple-darwin
Expand Down
2 changes: 1 addition & 1 deletion cryptoki-sys/regenerate_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find "$TARGET_DIR" -name "pkcs11_bindings.rs" -delete
MAKE_GENERIC_BINDINGS=1 cargo build --features generate-bindings
find "$TARGET_DIR" -name "pkcs11_bindings.rs" | xargs -I '{}' cp '{}' src/bindings/generic.rs

targets="aarch64-unknown-linux-gnu arm-unknown-linux-gnueabi loongarch64-unknown-linux-gnu x86_64-pc-windows-msvc i686-unknown-linux-gnu powerpc64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin x86_64-unknown-freebsd"
targets="aarch64-unknown-linux-gnu arm-unknown-linux-gnueabi loongarch64-unknown-linux-gnu x86_64-pc-windows-msvc i686-unknown-linux-gnu powerpc64-unknown-linux-gnu riscv64gc-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin x86_64-unknown-freebsd"
TARGET_INSTALLED=

for target in $targets; do
Expand Down
Loading
Loading