-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,37 @@ | ||
[build.env] | ||
passthrough = ["RUSTFLAGS"] | ||
pre-build = [ | ||
# https://aws.github.io/aws-lc-rs/requirements/linux.html | ||
"apt-get update", | ||
"apt-get install --assume-yes libclang1", | ||
"cargo install --force --locked bindgen-cli", | ||
] | ||
|
||
[target.x86_64-pc-windows-gnu] | ||
pre-build = [ | ||
# Install NVIM for rustls, which deps on aws-lc-rs by default, and it needs NASM | ||
# Install NASM for rustls, which deps on aws-lc-rs by default, and it needs NASM | ||
"apt-get update", | ||
"apt-get install --assume-yes nasm clang", | ||
"apt-get install --assume-yes libclang1 nasm cargo", | ||
"cargo install --force --locked bindgen-cli", | ||
] | ||
|
||
[target.aarch64-unknown-linux-gnu] | ||
pre-build = [] | ||
|
||
[target.aarch64-unknown-linux-musl] | ||
pre-build = [] | ||
|
||
[target.x86_64-unknown-linux-gnu] | ||
pre-build = [] | ||
|
||
[target.x86_64-unknown-linux-musl] | ||
pre-build = [] | ||
|
||
[target.i686-unknown-linux-gnu] | ||
pre-build = [] | ||
|
||
[target.aarch64-apple-darwin] | ||
pre-build = [] | ||
|
||
[target.x86_64-apple-darwin] | ||
pre-build = [] |
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