Created
March 5, 2025 12:33
-
-
Save tiye/7feb7fb73709cfc4009c9c62bf0cd2b9 to your computer and use it in GitHub Desktop.
Custom config toml
This file contains hidden or 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
# Use different pre-set defaults than the global defaults. | |
# | |
# See `src/bootstrap/defaults` for more information. | |
# Note that this has no default value (x.py uses the defaults in `config.example.toml`). | |
profile = 'dist' | |
[llvm] | |
download-ci-llvm = false | |
[build] | |
optimized-compiler-builtins = true | |
target = ['wasm32-wasip1', 'aarch64-apple-darwin'] | |
docs = false | |
tools = ['cargo'] | |
configure-args = [ | |
'--target=wasm32-wasip1', | |
'--disable-docs', | |
'--set', | |
'target.wasm32-wasip1.wasi-root={MY_KIT}/wasi-sdk-24.0-arm64-macos/share/wasi-sysroot', | |
'--tools=cargo', | |
] | |
[install] | |
[rust] | |
[target.aarch64-apple-darwin] | |
cc = '/usr/bin/clang' | |
[target.wasm32-wasip1] | |
cc = '{MY_KIT}/wasi-sdk-24.0-arm64-macos/bin/clang' | |
wasi-root = '{MY_KIT}/wasi-sdk-24.0-arm64-macos/share/wasi-sysroot' | |
[dist] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment