diff options
| author | bors <bors@rust-lang.org> | 2021-01-20 07:15:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-20 07:15:40 +0000 |
| commit | a4cbb44ae2c80545db957763b502dc7f6ea22085 (patch) | |
| tree | 3281c73ef832c28b327c16fb23c8c6e2e0d70435 /src/test | |
| parent | e05409a02c6e73a3dea6da98798468db2910ca59 (diff) | |
| parent | f9275e1092232fcb8ec117fc4acca990f57cba15 (diff) | |
| download | rust-a4cbb44ae2c80545db957763b502dc7f6ea22085.tar.gz rust-a4cbb44ae2c80545db957763b502dc7f6ea22085.zip | |
Auto merge of #81118 - ojeda:metadata-obj, r=nagisa
Skip linking if it is not required This allows to use `--emit=metadata,obj` and other metadata + non-link combinations. Fixes #81117.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/emit-metadata-obj.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/emit-metadata-obj.rs b/src/test/ui/emit-metadata-obj.rs new file mode 100644 index 00000000000..334c7cc5b81 --- /dev/null +++ b/src/test/ui/emit-metadata-obj.rs @@ -0,0 +1,7 @@ +// compile-flags:--emit=metadata,obj +// build-pass + +// A test for the emission of metadata + obj and other metadata + non-link +// combinations. See issue #81117. + +fn main() {} |
