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

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8e91a51
DOC: Add FFI example for slice::from_raw_parts()
mgeier Apr 2, 2024
22319bf
Add "safety" comment
mgeier Apr 26, 2024
4df1303
Extend the example code and assert the result
mgeier Apr 26, 2024
30b676c
Add missing .into_iter()
mgeier Apr 26, 2024
c8a3697
Recommend to never display zero disambiguators when demangling v0 sym…
michaelwoerister Apr 29, 2024
14348d9
NVPTX: Avoid PassMode::Direct for C ABI
May 31, 2024
a49fe0a
NVPTX:_Especially add the DoubleI32 struct as a nvptx abi test case s…
May 31, 2024
c59a2b2
Cleanup: HIR ty lowering: Consolidate assoc item access checking
fmease Jun 4, 2024
fe52b54
docs(core): make more const_ptr doctests assert instead of printing
lolbinarycat Jun 10, 2024
1462f3d
Add {{target}} substitution to compiletest
Veykril Jun 11, 2024
d695544
Simplify `[T; N]::try_map` signature
workingjubilee Jun 11, 2024
26fa5c2
Make issue-122805.rs big endian compatible
nikic Jun 11, 2024
751143e
set_env: State the conclusion upfront
ChrisDenton Jun 11, 2024
1a60597
Make `storage-live.rs` robust against rustc internal changes.
nnethercote Jun 11, 2024
7e7da49
Update a cranelift patch file for formatting changes.
nnethercote Jun 11, 2024
0b3fec9
For E0277 suggest adding `Result` return type for function which usin…
surechen Jun 9, 2024
75b164d
Use `tidy` to sort crate attributes for all compiler crates.
nnethercote Jun 12, 2024
af04418
Make PathBuf less Ok with adding UTF-16 then `into_string`
workingjubilee Jun 12, 2024
f2cce98
Migrate `run-make/prefer-rlib` to `rmake.rs`
GuillaumeGomez Jun 12, 2024
d79aeaf
Remove unused import in `run-make/prefer-dylib/rmake.rs`
GuillaumeGomez Jun 12, 2024
bbc5509
fix RELEASES: we do not support upcasting to auto traits
lcnr Jun 12, 2024
45a9bd5
Use `fs_wrapper` in `run-make/prefer-dylib`
GuillaumeGomez Jun 12, 2024
8d3b9a1
Rollup merge of #123374 - mgeier:doc-slice-from-raw-parts, r=scottmcm
workingjubilee Jun 12, 2024
969056d
Rollup merge of #124514 - michaelwoerister:zero-disambiguator-demangl…
workingjubilee Jun 12, 2024
e7b07ea
Rollup merge of #125978 - fmease:cleanup-hir-ty-lowering-consolidate-…
workingjubilee Jun 12, 2024
322af5c
Rollup merge of #125980 - kjetilkjeka:nvptx_remove_direct_passmode, r…
workingjubilee Jun 12, 2024
519a322
Rollup merge of #126187 - surechen:fix_125997, r=oli-obk
workingjubilee Jun 12, 2024
3a37293
Rollup merge of #126210 - lolbinarycat:ptr_doctest_assert, r=workingj…
workingjubilee Jun 12, 2024
4de77b6
Rollup merge of #126249 - workingjubilee:simplify-try-map-signature, …
workingjubilee Jun 12, 2024
3997b62
Rollup merge of #126256 - ferrocene:lw-target-subst, r=albertlarsan68
workingjubilee Jun 12, 2024
0ed474a
Rollup merge of #126263 - nikic:s390x-codegen-test-fix, r=jieyouxu
workingjubilee Jun 12, 2024
0805ab4
Rollup merge of #126281 - ChrisDenton:env, r=jhpratt
workingjubilee Jun 12, 2024
6cde179
Rollup merge of #126286 - nnethercote:fix-test-LL-CC, r=lqd
workingjubilee Jun 12, 2024
ac73965
Rollup merge of #126287 - nnethercote:reformat-cranelift-patch, r=bjorn3
workingjubilee Jun 12, 2024
36e828f
Rollup merge of #126301 - nnethercote:sort-crate-attributes, r=davidtwco
workingjubilee Jun 12, 2024
3862f01
Rollup merge of #126305 - workingjubilee:fix-os-string-to-string-utf8…
workingjubilee Jun 12, 2024
6f4f405
Rollup merge of #126310 - GuillaumeGomez:migrate-run-make-prefer-rlib…
workingjubilee Jun 12, 2024
0a52849
Rollup merge of #126314 - lcnr:fix-relnotes, r=pietroalbini
workingjubilee Jun 12, 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
Use fs_wrapper in run-make/prefer-dylib
  • Loading branch information
GuillaumeGomez committed Jun 12, 2024
commit 45a9bd5d40d1674af33287088dbc24bd092541ac
5 changes: 2 additions & 3 deletions tests/run-make/prefer-dylib/rmake.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
//@ ignore-cross-compile

use run_make_support::{cwd, dynamic_lib_name, read_dir, run, run_fail, rustc};
use std::fs::remove_file;
use run_make_support::{cwd, dynamic_lib_name, fs_wrapper, read_dir, run, run_fail, rustc};

fn main() {
rustc().input("bar.rs").crate_type("dylib").crate_type("rlib").arg("-Cprefer-dynamic").run();
rustc().input("foo.rs").arg("-Cprefer-dynamic").run();

run("foo");

remove_file(dynamic_lib_name("bar")).unwrap();
fs_wrapper::remove_file(dynamic_lib_name("bar"));
// This time the command should fail.
run_fail("foo");
}