-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove direct dependency on aws-lc-rs and install bindgen instead
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
[build] | ||
xargo = false # enable the use of xargo by default | ||
zig = false # enable the use of xargo by default | ||
default-target = "x86_64-unknown-linux-gnu" # use this target if none is explicitly provided | ||
pre-build = [ # additional commands to run prior to building the package | ||
"apt-get update && apt-get --assume-yes install nasm build-essential clang wget tftp-hpa curl" | ||
] | ||
|
||
[target.arm-unknown-linux-gnueabihf] | ||
pre-build = [ | ||
"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable", | ||
". $HOME/.cargo/env", | ||
"cargo install --force --locked bindgen-cli && mv $HOME/.cargo/bin/bindgen /usr/bin", | ||
] | ||
|
||
[target.armv7-unknown-linux-gnueabihf] | ||
pre-build = [ | ||
"curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable", | ||
". $HOME/.cargo/env", | ||
"cargo install --force --locked bindgen-cli && mv $HOME/.cargo/bin/bindgen /usr/bin", | ||
] |