fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
528 B18 linesraw
1-include ../tools.mk
2
3# Test that previously triggered a linker failure with root cause
4# similar to one found in the issue #69368.
5#
6# The crate that provides oom lang item is missing some other lang
7# items. Necessary to prevent the use of start-group / end-group.
8#
9# The weak lang items are defined in a separate compilation units,
10# so that linker could omit them if not used.
11#
12# The crates that need those weak lang items are dependencies of
13# crates that provide them.
14
15all:
16	$(RUSTC) a.rs
17	$(RUSTC) b.rs
18	$(RUSTC) c.rs