fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# ignore-cross-compile 2include ../tools.mk 3 4# With the upgrade to LLVM 16, this was getting: 5# 6# error: Cannot represent a difference across sections 7# 8# The error stemmed from DI function definitions under type scopes, fixed by 9# only declaring in type scope and defining the subprogram elsewhere. 10 11all: 12 $(RUSTC) lib.rs --test -C lto=fat -C debuginfo=2 -C incremental=$(TMPDIR)/inc-fat