-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port
tests/run-make-fulldeps/hotplug_codegen_backend
to ui-fulldeps
- Loading branch information
Showing
11 changed files
with
54 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
If this directory is empty, Git won't create it, and compiletest will complain | ||
that it can't find a nonexistent test suite directory. | ||
|
||
FIXME(#126111): Remove `run-make-fulldeps` from bootstrap. |
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/run-make-fulldeps/hotplug_codegen_backend/some_crate.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$DIR/hotplug.rs: | ||
$TEST_BUILD_DIR/codegen-backend/hotplug.bindep/auxiliary/libthe_backend.so: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$DIR/hotplug.rs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This has been 'compiled' successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//@ edition: 2021 | ||
//@ build-pass | ||
//@ ignore-stage1 (requires matching sysroot built with in-tree compiler) | ||
|
||
//@ aux-codegen-backend: the_backend.rs | ||
//@ normalize-stdout-test: "libthe_backend.dylib" -> "libthe_backend.so" | ||
//@ normalize-stdout-test: "the_backend.dll" -> "libthe_backend.so" | ||
|
||
//@ revisions: normal dep bindep | ||
//@ compile-flags: --crate-type=lib -o - | ||
//@ [normal] compile-flags: --emit=link | ||
//@ [dep] compile-flags: --emit=dep-info | ||
//@ [bindep] compile-flags: --emit=dep-info -Zbinary-dep-depinfo | ||
|
||
#![feature(no_core)] | ||
#![no_core] | ||
|
||
// This test both exists as a check that -Zcodegen-backend is capable of loading external codegen | ||
// backends and that this external codegen backend is only included in the dep info if | ||
// -Zbinary-dep-depinfo is used. |