Skip to content

Commit b5695dd

Browse files
CI: Remove bindgen dependency and add Cross.toml for ARM target configurations
1 parent 99e92eb commit b5695dd

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cross.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[target.arm-unknown-linux-gnueabi]
2+
rustflags = ["-C", "link-arg=-latomic"]
3+
4+
[target.arm-unknown-linux-gnueabihf]
5+
rustflags = ["-C", "link-arg=-latomic"]
6+
7+
[target.armv7-unknown-linux-gnueabi]
8+
rustflags = ["-C", "link-arg=-latomic"]
9+
10+
[target.armv7-unknown-linux-gnueabihf]
11+
rustflags = ["-C", "link-arg=-latomic"]
12+
13+
[target.armv7-unknown-linux-musleabi]
14+
rustflags = ["-C", "link-arg=-latomic"]
15+
16+
[target.armv7-unknown-linux-musleabihf]
17+
rustflags = ["-C", "link-arg=-latomic"]

crates/ng-js-runtime/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,3 @@ anyhow = { workspace = true, optional = true }
4343
ng-db = { workspace = true, optional = true }
4444
ng-infra = { workspace = true, optional = true }
4545

46-
# ARM32 needs bindgen for libatomic workaround
47-
[target.'cfg(target_arch = "arm")'.dependencies]
48-
rquickjs = { git = "https://github.com/delskayn/rquickjs.git", default-features = false, features = ["futures", "bindgen"], optional = true }

0 commit comments

Comments
 (0)