From 54e55ca22063a1f2fd45dbc2c2a49fda2bd7a25a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 4 Nov 2024 09:08:53 +0100 Subject: [PATCH 1/2] Fix minicore.rs link --- src/tests/minicore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tests/minicore.md b/src/tests/minicore.md index 40afe70de..05cc9c888 100644 --- a/src/tests/minicore.md +++ b/src/tests/minicore.md @@ -2,7 +2,7 @@ -[`tests/auxiliary/minicore.rs`][`minicore`] is a test auxiliary for +[`minicore`] is a test auxiliary for ui/codegen/assembly test suites. It provides `core` stubs for tests that need to build for cross-compiled targets but do not need/want to run. @@ -25,6 +25,8 @@ Please note that [`minicore`] is only intended for `core` items, and explicitly range of tests. +[`minicore`]: https://github.com/rust-lang/rust/blob/master/tests/auxiliary/minicore.rs + ## Example codegen test that uses `minicore` ```rust,no_run From 90a6e199b8a05b710076eb924300a853c663fe8e Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 4 Nov 2024 09:16:48 +0100 Subject: [PATCH 2/2] Fix duplitous link in minicore --- src/tests/minicore.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tests/minicore.md b/src/tests/minicore.md index 05cc9c888..e4853b6d4 100644 --- a/src/tests/minicore.md +++ b/src/tests/minicore.md @@ -2,7 +2,7 @@ -[`minicore`] is a test auxiliary for +[`tests/auxiliary/minicore.rs`][`minicore`] is a test auxiliary for ui/codegen/assembly test suites. It provides `core` stubs for tests that need to build for cross-compiled targets but do not need/want to run. @@ -25,8 +25,6 @@ Please note that [`minicore`] is only intended for `core` items, and explicitly range of tests. -[`minicore`]: https://github.com/rust-lang/rust/blob/master/tests/auxiliary/minicore.rs - ## Example codegen test that uses `minicore` ```rust,no_run @@ -53,4 +51,4 @@ impl Copy for Meow {} // `Copy` here is provided by `minicore` fn meow() {} ``` -[minicore]: https://github.com/rust-lang/rust/tree/master/tests/auxiliary/minicore.rs +[`minicore`]: https://github.com/rust-lang/rust/tree/master/tests/auxiliary/minicore.rs