fix a few typos in rmake tests' comments
This commit is contained in:
parent
9ca5df692b
commit
6f19bd08b0
5 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
//! Include a file by concating the verbatim path using `/` instead of `\`
|
//! Include a file by concatenating the verbatim path using `/` instead of `\`
|
||||||
|
|
||||||
include!(concat!(env!("VERBATIM_DIR"), "/include/include.txt"));
|
include!(concat!(env!("VERBATIM_DIR"), "/include/include.txt"));
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -9,8 +9,8 @@ fn main() {
|
||||||
let mut path_ir = PathBuf::new();
|
let mut path_ir = PathBuf::new();
|
||||||
run_in_tmpdir(|| {
|
run_in_tmpdir(|| {
|
||||||
let p = cwd();
|
let p = cwd();
|
||||||
path_bc = p.join("nonexistant_dir_bc");
|
path_bc = p.join("nonexistent_dir_bc");
|
||||||
path_ir = p.join("nonexistant_dir_ir");
|
path_ir = p.join("nonexistent_dir_ir");
|
||||||
rustc().input("-").stdin_buf("fn main() {}").out_dir(&path_bc).emit("llvm-bc").run();
|
rustc().input("-").stdin_buf("fn main() {}").out_dir(&path_bc).emit("llvm-bc").run();
|
||||||
rustc().input("-").stdin_buf("fn main() {}").out_dir(&path_ir).emit("llvm-ir").run();
|
rustc().input("-").stdin_buf("fn main() {}").out_dir(&path_ir).emit("llvm-ir").run();
|
||||||
assert!(path_bc.exists());
|
assert!(path_bc.exists());
|
||||||
|
|
|
@ -48,7 +48,7 @@ fn main() {
|
||||||
let default = &target_spec["crt-static-default"];
|
let default = &target_spec["crt-static-default"];
|
||||||
|
|
||||||
// If the value is `null`, then the default to dynamically link from
|
// If the value is `null`, then the default to dynamically link from
|
||||||
// musl_base was not overriden.
|
// musl_base was not overridden.
|
||||||
if default.is_null() {
|
if default.is_null() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// The rlib produced by a no_builtins crate should be explicitely linked
|
// The rlib produced by a no_builtins crate should be explicitly linked
|
||||||
// during compilation, and as a result be present in the linker arguments.
|
// during compilation, and as a result be present in the linker arguments.
|
||||||
// See the comments inside this file for more details.
|
// See the comments inside this file for more details.
|
||||||
// See https://github.com/rust-lang/rust/pull/35637
|
// See https://github.com/rust-lang/rust/pull/35637
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Dynamic libraries on Rust used to export a very high amount of symbols,
|
// Dynamic libraries on Rust used to export a very high amount of symbols,
|
||||||
// going as far as filling the output with mangled names and generic function
|
// going as far as filling the output with mangled names and generic function
|
||||||
// names. After the rework of #38117, this test checks that no mangled Rust symbols
|
// names. After the rework of #38117, this test checks that no mangled Rust symbols
|
||||||
// are exported, and that generics are only shown if explicitely requested.
|
// are exported, and that generics are only shown if explicitly requested.
|
||||||
// See https://github.com/rust-lang/rust/issues/37530
|
// See https://github.com/rust-lang/rust/issues/37530
|
||||||
|
|
||||||
use run_make_support::object::read::Object;
|
use run_make_support::object::read::Object;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue