You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bring strip_level configuration up to top level (#3434)
This adds a path for configuring `strip_level` in the same way as
`opt_level`. This will allow configuration away from the default of:
```
default = {
"dbg": "none",
"fastbuild": "none",
"opt": "debuginfo",
},
```
through `rust_register_toolchains`.
extra_target_triples (list, optional): Additional rust-style targets that rust toolchains should support.
192
193
extra_rustc_flags (dict, list, optional): Dictionary of target triples to list of extra flags to pass to rustc in non-exec configuration.
193
194
extra_exec_rustc_flags (list, optional): Extra flags to pass to rustc in exec configuration.
195
+
strip_level (dict, dict, optional): Dictionary of target triples to strip config.
194
196
urls (list, optional): A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format).
195
197
versions (list, optional): A list of toolchain versions to download. This parameter only accepts one versions
196
198
per channel. E.g. `["1.65.0", "nightly/2022-11-02", "beta/2020-12-30"]`.
extra_rustc_flags (list, optional): Extra flags to pass to rustc in non-exec configuration.
647
655
extra_exec_rustc_flags (list, optional): Extra flags to pass to rustc in exec configuration.
648
656
opt_level (dict, optional): Optimization level config for this toolchain.
657
+
strip_level (dict, optional): Strip level config for this toolchain.
649
658
sha256s (str, optional): A dict associating tool subdirectories to sha256 hashes. See
650
659
[rust_register_toolchains](#rust_register_toolchains) for more details.
651
660
urls (list, optional): A list of mirror urls containing the tools from the Rust-lang static file server. These must contain the '{}' used to substitute the tool being fetched (using .format). Defaults to ['https://static.rust-lang.org/dist/{}.tar.xz']
0 commit comments