Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a85700a
Handle .init_array link_section specially on wasm
ratmice Feb 24, 2024
395ea03
uefi: Add process
Ayush1325 Mar 26, 2024
ed2dca2
uefi: process: Add support to capture stdout
Ayush1325 Mar 29, 2024
3c47880
uefi: process: Add stderr support
Ayush1325 Mar 29, 2024
8ee24d3
uefi: process: Add null protocol
Ayush1325 Mar 29, 2024
588881b
uefi: process Implement inherit
Ayush1325 Mar 29, 2024
6ce936a
uefi: process: Add support for args
Ayush1325 Mar 29, 2024
c05a9b1
uefi: process: Add CommandArgs support
Ayush1325 Mar 29, 2024
a1e344f
uefi: process: Final Touchups
Ayush1325 Mar 29, 2024
1de046f
Update for review
ratmice Jun 14, 2024
4a868f4
uefi: process: Fixes from PR
Ayush1325 Mar 30, 2024
9dc08e3
Rewrite and rename issue-22131 to rmake
Oneirical Jul 11, 2024
fc4404c
Rewrite and rename issue-26006 to rmake
Oneirical Jul 11, 2024
741cf91
rewrite lto-smoke-c to rmake
Oneirical Jul 18, 2024
9387a75
Change `binary_asm_labels` to only fire on x86 and x86_64
tgross35 Jul 18, 2024
7303132
rewrite link-path-order to rmake
Oneirical Jul 18, 2024
8410348
Update the `binary_asm_label` message
tgross35 Jul 18, 2024
b8ec375
Rollup merge of #121533 - ratmice:wasm_init_fini_array, r=nnethercote
GuillaumeGomez Jul 18, 2024
ce0be92
Rollup merge of #123196 - Ayush1325:uefi-process, r=joboet
GuillaumeGomez Jul 18, 2024
e761e9b
Rollup merge of #127621 - Oneirical:hypnotest-show, r=jieyouxu
GuillaumeGomez Jul 18, 2024
6bcfb73
Rollup merge of #127928 - Oneirical:anatesthetic-sleep, r=Kobzol
GuillaumeGomez Jul 18, 2024
fb751e0
Rollup merge of #127935 - tgross35:binary_asm_labels-x86-only, r=este…
GuillaumeGomez Jul 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rewrite and rename issue-26006 to rmake
  • Loading branch information
Oneirical committed Jul 18, 2024
commit fc4404c230c2a7a818e73255d3ceb877b30b592f
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ run-make/interdependent-c-libraries/Makefile
run-make/issue-107094/Makefile
run-make/issue-14698/Makefile
run-make/issue-15460/Makefile
run-make/issue-26006/Makefile
run-make/issue-28595/Makefile
run-make/issue-33329/Makefile
run-make/issue-35164/Makefile
Expand Down
5 changes: 5 additions & 0 deletions tests/run-make/invalid-symlink-search-path/in/bar/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extern crate foo;

pub fn main() {
let _ = foo::hello_world();
}
3 changes: 3 additions & 0 deletions tests/run-make/invalid-symlink-search-path/in/foo/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn hello_world() -> i32 {
42
}
33 changes: 33 additions & 0 deletions tests/run-make/invalid-symlink-search-path/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// In this test, the symlink created is invalid (valid relative to the root, but not
// relatively to where it is located), and used to cause an internal
// compiler error (ICE) when passed as a library search path. This was fixed in #26044,
// and this test checks that the invalid symlink is instead simply ignored.
// See https://github.com/rust-lang/rust/issues/26006

//@ needs-symlink
//Reason: symlink requires elevated permission in Windows

use run_make_support::{rfs, rustc};

fn main() {
// We create two libs: `bar` which depends on `foo`. We need to compile `foo` first.
rfs::create_dir("out");
rfs::create_dir("out/foo");
rustc()
.input("in/foo/lib.rs")
.crate_name("foo")
.crate_type("lib")
.metadata("foo")
.output("out/foo/libfoo.rlib")
.run();
rfs::create_dir("out/bar");
rfs::create_dir("out/bar/deps");
rfs::create_symlink("out/foo/libfoo.rlib", "out/bar/deps/libfoo.rlib");
// Check that the invalid symlink does not cause an ICE
rustc()
.input("in/bar/lib.rs")
.library_search_path("dependency=out/bar/deps")
.run_fail()
.assert_exit_code(1)
.assert_stderr_not_contains("internal compiler error");
}
17 changes: 0 additions & 17 deletions tests/run-make/issue-26006/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions tests/run-make/issue-26006/in/libc/lib.rs

This file was deleted.

4 changes: 0 additions & 4 deletions tests/run-make/issue-26006/in/time/lib.rs

This file was deleted.

6 changes: 4 additions & 2 deletions tests/run-make/rustdoc-cfgspec-parsing/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
// After this was fixed in #22135, this test checks that this bug does not make a resurgence.
// See https://github.com/rust-lang/rust/issues/22131

//FIXME(Oneirical): try test-various
//@ ignore-cross-compile
// Reason: rustdoc fails to find the "foo" crate

use run_make_support::{rustc, rustdoc};
use run_make_support::{cwd, rustc, rustdoc};

fn main() {
rustc().cfg(r#"feature="bar""#).crate_type("lib").input("foo.rs").run();
rustdoc()
.arg("--test")
.arg("--cfg")
.arg(r#"feature="bar""#)
.library_search_path(cwd())
.input("foo.rs")
.run()
.assert_stdout_contains("foo.rs - foo (line 1) ... ok");
Expand Down