This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +8
-7
lines changed
compiler/rustc_target/src/spec Expand file tree Collapse file tree 8 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 33//!
44//! Table of CRT objects for popular toolchains.
55//! The `crtx` ones are generally distributed with libc and the `begin/end` ones with gcc.
6- //! See https://dev.gentoo.org/~vapier/crt.txt for some more details.
6+ //! See < https://dev.gentoo.org/~vapier/crt.txt> for some more details.
77//!
88//! | Pre-link CRT objects | glibc | musl | bionic | mingw | wasi |
99//! |----------------------|------------------------|------------------------|------------------|-------------------|------|
Original file line number Diff line number Diff line change @@ -950,7 +950,7 @@ pub struct TargetOptions {
950950 /// The MergeFunctions pass is generally useful, but some targets may need
951951 /// to opt out. The default is "aliases".
952952 ///
953- /// Workaround for: https://github.com/rust-lang/rust/issues/57356
953+ /// Workaround for: < https://github.com/rust-lang/rust/issues/57356>
954954 pub merge_functions : MergeFunctions ,
955955
956956 /// Use platform dependent mcount function
Original file line number Diff line number Diff line change 88//! (e.g. trying to create a TCP stream or something like that).
99//!
1010//! This target is more or less managed by the Rust and WebAssembly Working
11- //! Group nowadays at https://github.com/rustwasm.
11+ //! Group nowadays at < https://github.com/rustwasm> .
1212
1313use super :: wasm32_base;
1414use super :: { LinkerFlavor , LldFlavor , Target } ;
Original file line number Diff line number Diff line change 77//! intended to empower WebAssembly binaries with native capabilities such as
88//! filesystem access, network access, etc.
99//!
10- //! You can see more about the proposal at https://wasi.dev
10+ //! You can see more about the proposal at < https://wasi.dev>.
1111//!
1212//! The Rust target definition here is interesting in a few ways. We want to
1313//! serve two use cases here with this target:
Original file line number Diff line number Diff line change 99//! This includes changes in the stability of the constness.
1010//!
1111//! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
12- //! from https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs to
12+ //! from < https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs> to
1313//! `compiler/rustc_mir/src/interpret/intrinsics.rs` and add a
1414//! `#[rustc_const_unstable(feature = "foo", issue = "01234")]` to the intrinsic.
1515//!
Original file line number Diff line number Diff line change @@ -287,6 +287,7 @@ pub mod primitive;
287287 unused_imports,
288288 unsafe_op_in_unsafe_fn
289289) ]
290+ #[ cfg_attr( not( bootstrap) , allow( automatic_links) ) ]
290291// FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is
291292// merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet.
292293#[ allow( clashing_extern_declarations) ]
Original file line number Diff line number Diff line change 3333//!
3434//! Primarily, this module and its children implement the algorithms described in:
3535//! "How to Read Floating Point Numbers Accurately" by William D. Clinger,
36- //! available online: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.45.4152
36+ //! available online: < http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.45.4152>
3737//!
3838//! In addition, there are numerous helper functions that are used in the paper but not available
3939//! in Rust (or at least in core). Our version is additionally complicated by the need to handle
Original file line number Diff line number Diff line change 11//! Slice sorting
22//!
33//! This module contains a sorting algorithm based on Orson Peters' pattern-defeating quicksort,
4- //! published at: https://github.com/orlp/pdqsort
4+ //! published at: < https://github.com/orlp/pdqsort>
55//!
66//! Unstable sorting is compatible with libcore because it doesn't allocate memory, unlike our
77//! stable sorting implementation.
You can’t perform that action at this time.
0 commit comments