rustc: rename -Z emit-directives to -Z emit-artifact-notifications and simplify the output.
This commit is contained in:
parent
f0e43fc986
commit
1618c079ab
11 changed files with 38 additions and 43 deletions
1
src/test/ui/emit-artifact-notifications.nll.stderr
Normal file
1
src/test/ui/emit-artifact-notifications.nll.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"artifact":"$TEST_BUILD_DIR/emit-artifact-notifications.nll/libemit_artifact_notifications.rmeta"}
|
||||
6
src/test/ui/emit-artifact-notifications.rs
Normal file
6
src/test/ui/emit-artifact-notifications.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// compile-flags:--emit=metadata --error-format=json -Z emit-artifact-notifications
|
||||
// compile-pass
|
||||
|
||||
// A very basic test for the emission of artifact notifications in JSON output.
|
||||
|
||||
fn main() {}
|
||||
1
src/test/ui/emit-artifact-notifications.stderr
Normal file
1
src/test/ui/emit-artifact-notifications.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"artifact":"$TEST_BUILD_DIR/emit-artifact-notifications/libemit_artifact_notifications.rmeta"}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
// compile-flags:--emit=metadata --error-format=json -Z emit-directives
|
||||
// compile-pass
|
||||
|
||||
// A very basic test for the emission of build directives in JSON output.
|
||||
|
||||
fn main() {}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"directive":"metadata file written: $TEST_BUILD_DIR/emit-directives/libemit_directives.rmeta"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue