File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ rustdoc-compiler_builtins: $(srctree)/rust/compiler_builtins.rs FORCE
52
52
# `no_global_oom_handling` functions refer to non-`no_global_oom_handling`
53
53
# functions. Ideally `rustdoc` would have a way to distinguish broken links
54
54
# due to things that are "configured out" vs. entirely non-existing ones.
55
- rustdoc-alloc : private rustc_target_flags = \
55
+ rustdoc-alloc : private rustc_target_flags = --cfg no_global_oom_handling \
56
56
-Abroken_intra_doc_links
57
57
rustdoc-alloc : $(srctree ) /rust/alloc/lib.rs FORCE
58
58
$(call if_changed,rustdoc)
@@ -276,6 +276,7 @@ $(objtree)/rust/compiler_builtins.o: $(srctree)/rust/compiler_builtins.rs \
276
276
$(call if_changed_dep,rustc_library)
277
277
278
278
$(objtree ) /rust/alloc.o : private skip_clippy = 1
279
+ $(objtree ) /rust/alloc.o : private rustc_target_flags = --cfg no_global_oom_handling
279
280
$(objtree ) /rust/alloc.o : $(srctree ) /rust/alloc/lib.rs \
280
281
$(objtree)/rust/compiler_builtins.o FORCE
281
282
$(call if_changed_dep,rustc_library)
You can’t perform that action at this time.
0 commit comments