Skip to content

Commit 73ac8f4

Browse files
committed
chore: fix linux arm gnu name
1 parent 047d32e commit 73ac8f4

File tree

7 files changed

+29
-32
lines changed

7 files changed

+29
-32
lines changed

.cargo/config.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[target.aarch64-unknown-linux-gnu]
2+
linker = "aarch64-linux-gnu-gcc"
3+
[target.aarch64-unknown-linux-musl]
4+
linker = "aarch64-linux-musl-gcc"
5+
rustflags = ["-C", "target-feature=-crt-static"]
6+
[target.armv7-unknown-linux-gnueabihf]
7+
linker = "arm-linux-gnueabihf-gcc"

.github/workflows/CI.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171
build: |-
7272
set -e &&
7373
rustup target add aarch64-unknown-linux-musl &&
74-
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc &&
7574
yarn build --target aarch64-unknown-linux-musl &&
7675
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
7776
- host: ubuntu-latest
@@ -80,7 +79,6 @@ jobs:
8079
sudo apt-get update
8180
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
8281
build: |-
83-
export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc &&
8482
yarn build --target=armv7-unknown-linux-gnueabihf &&
8583
arm-linux-gnueabihf-strip *.node
8684
name: stable - ${{ matrix.settings.target }} - node@16

npm/linux-arm-gnu/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

npm/linux-arm-gnu/package.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

npm/linux-arm-gnueabihf/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `test-linux-arm-gnueabihf`
2+
3+
This is the **armv7-unknown-linux-gnueabihf** binary for `test`

npm/linux-arm-gnueabihf/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "test-linux-arm-gnueabihf",
3+
"version": "0.0.0",
4+
"os": [
5+
"linux"
6+
],
7+
"cpu": [
8+
"arm"
9+
],
10+
"main": "test.linux-arm-gnueabihf.node",
11+
"files": [
12+
"test.linux-arm-gnueabihf.node"
13+
],
14+
"license": "MIT",
15+
"engines": {
16+
"node": ">= 10"
17+
}
18+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"triples": {
2626
"defaults": false,
2727
"additional": [
28-
"armv7-unknown-linux-gnu",
28+
"armv7-unknown-linux-gnueabihf",
2929
"x86_64-apple-darwin",
3030
"aarch64-apple-darwin",
3131
"aarch64-unknown-linux-musl",

0 commit comments

Comments
 (0)