Skip to content

Commit

Permalink
Trying to apply rust-lang/rust#46651
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Jun 8, 2023
1 parent 60529ec commit d98c6ad
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 31 deletions.
17 changes: 16 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
[env]
RUST_BACKTRACE = { value = "full", force = true }
#RUST_BACKTRACE = { value = "full", force = true }

[target.x86_64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]

[target.arm-unknown-linux-gnueabi]
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]

[target.armv7-unknown-linux-gnueabihf]
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]

[target.aarch64-unknown-linux-gnu]
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]

[target.aarch64-unknown-linux-musl]
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,42 +93,42 @@ jobs:
- { target: x86_64-unknown-linux-gnu, arch: amd64, os: ubuntu-20.04 }
- { target: x86_64-apple-darwin, arch: darwin, os: macos-latest }
- { target: aarch64-apple-darwin, arch: darwin, os: macos-latest }
# - {
# target: x86_64-unknown-linux-musl,
# arch: amd64,
# os: ubuntu-20.04,
# use-cross: true,
# }
# - {
# target: arm-unknown-linux-gnueabi,
# arch: armel,
# os: ubuntu-20.04,
# use-cross: true,
# }
- {
target: x86_64-unknown-linux-musl,
arch: amd64,
os: ubuntu-20.04,
use-cross: true,
}
- {
target: arm-unknown-linux-gnueabi,
arch: armel,
os: ubuntu-20.04,
use-cross: true,
}
- {
target: arm-unknown-linux-gnueabihf,
arch: armhf,
os: ubuntu-20.04,
use-cross: true,
}
# - {
# target: armv7-unknown-linux-gnueabihf,
# arch: armhf,
# os: ubuntu-20.04,
# use-cross: true,
# }
# - {
# target: aarch64-unknown-linux-gnu,
# arch: arm64,
# os: ubuntu-20.04,
# use-cross: true,
# }
# - {
# target: aarch64-unknown-linux-musl,
# arch: arm64,
# os: ubuntu-20.04,
# use-cross: true,
# }
- {
target: armv7-unknown-linux-gnueabihf,
arch: armhf,
os: ubuntu-20.04,
use-cross: true,
}
- {
target: aarch64-unknown-linux-gnu,
arch: arm64,
os: ubuntu-20.04,
use-cross: true,
}
- {
target: aarch64-unknown-linux-musl,
arch: arm64,
os: ubuntu-20.04,
use-cross: true,
}
# - { target: x86_64-pc-windows-msvc, arch: win64, os: windows-2019 }
# - { target: x86_64-pc-windows-gnu , arch: win64 , os: windows-2019 }
steps:
Expand Down

0 comments on commit d98c6ad

Please sign in to comment.