Default-enable llvm_tools_enabled
when no config.toml
is present · rust-lang/rust@38f0c09 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 38f0c09
Default-enable llvm_tools_enabled
when no config.toml
is present
File tree
1 file changed
lines changed
- src/bootstrap/src/core/config
1 file changed
lines changed
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1255,6 +1255,10 @@ impl Config { | ||
1255 | 1255 | }, |
1256 | 1256 | out: PathBuf::from("build"), |
1257 | 1257 | |
1258 | +// This is needed by codegen_ssa on macOS to ship `llvm-objcopy` aliased to | |
1259 | +// `rust-objcopy` to workaround bad `strip`s on macOS. | |
1260 | +llvm_tools_enabled: true, | |
1261 | + | |
1258 | 1262 | ..Default::default() |
1259 | 1263 | } |
1260 | 1264 | } |