rewrite issue-109934-lto-debuginfo as an ui test
This commit is contained in:
parent
80fb4cab4e
commit
2adfa147d7
4 changed files with 22 additions and 22 deletions
|
|
@ -1,12 +0,0 @@
|
|||
# ignore-cross-compile
|
||||
include ../tools.mk
|
||||
|
||||
# With the upgrade to LLVM 16, this was getting:
|
||||
#
|
||||
# error: Cannot represent a difference across sections
|
||||
#
|
||||
# The error stemmed from DI function definitions under type scopes, fixed by
|
||||
# only declaring in type scope and defining the subprogram elsewhere.
|
||||
|
||||
all:
|
||||
$(RUSTC) lib.rs --test -C lto=fat -C debuginfo=2 -C incremental=$(TMPDIR)/inc-fat
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
extern crate alloc;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn something_alloc() {
|
||||
assert_eq!(Vec::<u32>::new(), Vec::<u32>::new());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue