diff options
| author | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
|---|---|---|
| committer | Samuel Holland <samuel@sholland.org> | 2017-08-22 16:24:29 -0500 |
| commit | 4b09dc6e394c3d2397ad46530a96fd5f63a1c88c (patch) | |
| tree | 4274e5a1e05db4814b88479e5d5800a0f696914e /config.toml.example | |
| parent | 0c7a0e9851b8ac48d51fe7289257bc03ae3e3a37 (diff) | |
Introduce crt_static target option in config.toml
This controls the value of the crt-static feature used when building the standard library for a target, as well as the compiler itself when that target is the host.
Diffstat (limited to 'config.toml.example')
| -rw-r--r-- | config.toml.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example index 962be2e6085..fd1f03b9d0e 100644 --- a/config.toml.example +++ b/config.toml.example @@ -292,6 +292,12 @@ # build native code. #android-ndk = "/path/to/ndk" +# Force static or dynamic linkage of the standard library for this target. If +# this target is a host for rustc, this will also affect the linkage of the +# compiler itself. This is useful for building rustc on targets that normally +# only use static libraries. If unset, the target's default linkage is used. +#crt-static = false + # The root location of the MUSL installation directory. The library directory # will also need to contain libunwind.a for an unwinding implementation. Note # that this option only makes sense for MUSL targets that produce statically |
