Skip to content

Commit 5a49375

Browse files
authored
Rollup merge of rust-lang#155839 - bjorn3:remove_unnecessary_target_override, r=jieyouxu
Remove unnecessary requires_lto: false for eBPF requires_lto is already false by default.
2 parents 6e57e15 + effe8b5 commit 5a49375

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • compiler/rustc_target/src/spec/base

compiler/rustc_target/src/spec/base/bpf.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ pub(crate) fn opts(endian: Endian) -> TargetOptions {
1818
// BPF_PROG_LOAD and not all BPF libraries do that yet
1919
merge_functions: MergeFunctions::Disabled,
2020
obj_is_bitcode: true,
21-
requires_lto: false,
2221
singlethread: true,
2322
// When targeting the `v3` cpu in llvm, 32-bit atomics are also supported.
2423
// But making this value change based on the target cpu can be mostly confusing

0 commit comments

Comments
 (0)