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
42 commits
Select commit Hold shift + click to select a range
eb0ed28
Remove usage of `isize` in example
tbu- May 28, 2024
1a840e7
Add test for incorrect pinning suggestion
estebank May 28, 2024
5585f31
Account for existing bindings when suggesting pinning
estebank May 28, 2024
69769fc
Expand list of trait implementers in E0277 when calling rustc with --…
lengrongfu Jun 6, 2024
3ba0262
CI: Update riscv64gc-linux job to 22.04, rename to riscv64gc-gnu
Hoverbear May 27, 2024
aafa93f
Move riscv64-gnu test out of disabled
Hoverbear May 29, 2024
f2e7d79
Add riscv64-gnu to PR tests
Hoverbear May 29, 2024
4c4eb39
Add workaround for git dubious ownership issue
Hoverbear May 31, 2024
e1b489d
Re-disable riscv64-gnu test
Hoverbear Jun 10, 2024
1462f3d
Add {{target}} substitution to compiletest
Veykril Jun 11, 2024
19a2dfe
Migrate `tests/run-make/prefer-dylib` to `rmake.rs`
GuillaumeGomez Jun 8, 2024
e3e8153
Split core's PanicInfo and std's PanicInfo.
m-ou-se Sep 19, 2023
a519dc8
Document difference between core and std's PanicInfo.
m-ou-se Sep 26, 2023
16dfc6d
Add core::panic::PanicInfo::payload() for compatibility.
m-ou-se Sep 26, 2023
331b8a3
Fix doc link.
m-ou-se Sep 26, 2023
83dd214
Update doc comment about core::panicking.
m-ou-se Oct 2, 2023
0266bbf
Remove core::panic::PanicInfo::internal_constructor.
m-ou-se Oct 2, 2023
0642cb2
Remove std::panic::PanicInfo::internal_constructor+set_payload.
m-ou-se Oct 2, 2023
0087d89
Mark some PanicInfo methods as #[inline] for consistency.
m-ou-se Oct 2, 2023
4e356f3
Move downcasting panic payload to str to a function.
m-ou-se Oct 2, 2023
22f7399
Use unnamed lifetimes for [..]Payload impl blocks.
m-ou-se Oct 2, 2023
1642de3
Impl Display for PanicPayload to simplify things.
m-ou-se Oct 2, 2023
bab26b0
Reorder body of begin_panic for consistency.
m-ou-se Oct 2, 2023
6b2d7c4
Fix invalid markdown/html.
m-ou-se Oct 2, 2023
b6180a9
Formatting.
m-ou-se Jan 31, 2024
64e56db
Rename std::panic::PanicInfo to PanicHookInfo.
m-ou-se Jan 31, 2024
3854357
Fix deprecation version.
m-ou-se Jan 31, 2024
f5fe82f
Move deprecation of std::panic::PanicInfo to 1.80.0.
m-ou-se Jan 31, 2024
ce0bc8b
Downcast panic payload to String too in example.
m-ou-se May 16, 2024
32bfe70
Add note on panic payload type.
m-ou-se May 16, 2024
877a26f
Mention core's PanicInfo in error.md.
m-ou-se May 16, 2024
fb0990d
Fix display of panic message in recursive panic.
m-ou-se May 16, 2024
de07c1a
Add PanicHookInfo::payload_as_str().
m-ou-se May 16, 2024
a345c3d
Bump deprecation of std's PanicInfo alias to 1.82.0.
m-ou-se May 16, 2024
a6e23b1
Formatting.
m-ou-se Jun 11, 2024
e45cfc7
Rollup merge of #115974 - m-ou-se:panicinfo-and-panicinfo, r=Amanieu
jieyouxu Jun 11, 2024
999ac87
Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix
jieyouxu Jun 11, 2024
70aaf98
Rollup merge of #125669 - ferrocene:hoverbear/ci-docker-riscv64gc-upd…
jieyouxu Jun 11, 2024
1ca8f01
Rollup merge of #125684 - estebank:pin-to-binding-suggestion, r=pnkfelix
jieyouxu Jun 11, 2024
427429b
Rollup merge of #126055 - lengrongfu:master, r=pnkfelix
jieyouxu Jun 11, 2024
b1a88b8
Rollup merge of #126174 - GuillaumeGomez:migrate-run-make-prefer-dyli…
jieyouxu Jun 11, 2024
bc5bd47
Rollup merge of #126256 - ferrocene:lw-target-subst, r=albertlarsan68
jieyouxu Jun 11, 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
Migrate tests/run-make/prefer-dylib to rmake.rs
  • Loading branch information
GuillaumeGomez committed Jun 11, 2024
commit 19a2dfea881568fb63e55e8535634ad33c783f02
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 @@ -177,7 +177,6 @@ run-make/pgo-gen/Makefile
run-make/pgo-indirect-call-promotion/Makefile
run-make/pgo-use/Makefile
run-make/pointer-auth-link-with-c/Makefile
run-make/prefer-dylib/Makefile
run-make/prefer-rlib/Makefile
run-make/pretty-print-to-file/Makefile
run-make/pretty-print-with-dep-file/Makefile
Expand Down
9 changes: 0 additions & 9 deletions tests/run-make/prefer-dylib/Makefile

This file was deleted.

16 changes: 16 additions & 0 deletions tests/run-make/prefer-dylib/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//@ ignore-cross-compile

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

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();
// This time the command should fail.
run_fail("foo");
}