mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #155839 - bjorn3:remove_unnecessary_target_override, r=jieyouxu
Remove unnecessary requires_lto: false for eBPF requires_lto is already false by default.
This commit is contained in:
@@ -18,7 +18,6 @@ pub(crate) fn opts(endian: Endian) -> TargetOptions {
|
||||
// BPF_PROG_LOAD and not all BPF libraries do that yet
|
||||
merge_functions: MergeFunctions::Disabled,
|
||||
obj_is_bitcode: true,
|
||||
requires_lto: false,
|
||||
singlethread: true,
|
||||
// When targeting the `v3` cpu in llvm, 32-bit atomics are also supported.
|
||||
// But making this value change based on the target cpu can be mostly confusing
|
||||
|
||||
Reference in New Issue
Block a user