Skip to content

Commit 98162c2

Browse files
committed
Fix sort and link
1 parent 6fcbeb5 commit 98162c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ unstable_cli_options!(
875875
no_embed_metadata: bool = ("Avoid embedding metadata in library artifacts"),
876876
no_index_update: bool = ("Do not update the registry index even if the cache is outdated"),
877877
panic_abort_tests: bool = ("Enable support to run tests with -Cpanic=abort"),
878+
panic_immediate_abort: bool = ("Enable setting `panic = \"immediate-abort\"` in profiles"),
878879
profile_hint_mostly_unused: bool = ("Enable the `hint-mostly-unused` setting in profiles to mark a crate as mostly unused."),
879880
profile_rustflags: bool = ("Enable the `rustflags` option in profiles in .cargo/config.toml file"),
880881
public_dependency: bool = ("Respect a dependency's `public` field in Cargo.toml to control public/private dependencies"),
@@ -890,7 +891,6 @@ unstable_cli_options!(
890891
skip_rustdoc_fingerprint: bool,
891892
target_applies_to_host: bool = ("Enable the `target-applies-to-host` key in the .cargo/config.toml file"),
892893
trim_paths: bool = ("Enable the `trim-paths` option in profiles"),
893-
panic_immediate_abort: bool = ("Enable setting `panic = \"immediate-abort\"` in profiles"),
894894
unstable_options: bool = ("Allow the usage of unstable options"),
895895
warnings: bool = ("Allow use of the build.warnings config key"),
896896
);

src/doc/src/reference/unstable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ cargo-features = ["open-namespaces"]
16761676
* Tracking Issue: [#16042](https://github.com/rust-lang/cargo/issues/16042)
16771677
* Upstream Tracking Issue: [rust-lang/rust#147286](https://github.com/rust-lang/rust/issues/147286)
16781678

1679-
Allow use of [`-Cpanic=immediate-abort`](doc.rust-lang.org/nightly/rustc/codegen-options/index.html#panic) through a Cargo profile
1679+
Allow use of [`-Cpanic=immediate-abort`](../../rustc/codegen-options/index.html#panic) through a Cargo profile
16801680

16811681
This can be enabled like so:
16821682
```toml

0 commit comments

Comments
 (0)