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 3
3
//!
4
4
//! Table of CRT objects for popular toolchains.
5
5
//! 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.
7
7
//!
8
8
//! | Pre-link CRT objects | glibc | musl | bionic | mingw | wasi |
9
9
//! |----------------------|------------------------|------------------------|------------------|-------------------|------|
Original file line number Diff line number Diff line change @@ -950,7 +950,7 @@ pub struct TargetOptions {
950
950
/// The MergeFunctions pass is generally useful, but some targets may need
951
951
/// to opt out. The default is "aliases".
952
952
///
953
- /// Workaround for: https://github.com/rust-lang/rust/issues/57356
953
+ /// Workaround for: < https://github.com/rust-lang/rust/issues/57356>
954
954
pub merge_functions : MergeFunctions ,
955
955
956
956
/// Use platform dependent mcount function
Original file line number Diff line number Diff line change 8
8
//! (e.g. trying to create a TCP stream or something like that).
9
9
//!
10
10
//! 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> .
12
12
13
13
use super :: wasm32_base;
14
14
use super :: { LinkerFlavor , LldFlavor , Target } ;
Original file line number Diff line number Diff line change 7
7
//! intended to empower WebAssembly binaries with native capabilities such as
8
8
//! filesystem access, network access, etc.
9
9
//!
10
- //! You can see more about the proposal at https://wasi.dev
10
+ //! You can see more about the proposal at < https://wasi.dev>.
11
11
//!
12
12
//! The Rust target definition here is interesting in a few ways. We want to
13
13
//! serve two use cases here with this target:
Original file line number Diff line number Diff line change 9
9
//! This includes changes in the stability of the constness.
10
10
//!
11
11
//! 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
13
13
//! `compiler/rustc_mir/src/interpret/intrinsics.rs` and add a
14
14
//! `#[rustc_const_unstable(feature = "foo", issue = "01234")]` to the intrinsic.
15
15
//!
Original file line number Diff line number Diff line change @@ -287,6 +287,7 @@ pub mod primitive;
287
287
unused_imports,
288
288
unsafe_op_in_unsafe_fn
289
289
) ]
290
+ #[ cfg_attr( not( bootstrap) , allow( automatic_links) ) ]
290
291
// FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is
291
292
// merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet.
292
293
#[ allow( clashing_extern_declarations) ]
Original file line number Diff line number Diff line change 33
33
//!
34
34
//! Primarily, this module and its children implement the algorithms described in:
35
35
//! "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>
37
37
//!
38
38
//! In addition, there are numerous helper functions that are used in the paper but not available
39
39
//! 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 1
1
//! Slice sorting
2
2
//!
3
3
//! 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>
5
5
//!
6
6
//! Unstable sorting is compatible with libcore because it doesn't allocate memory, unlike our
7
7
//! stable sorting implementation.
You can’t perform that action at this time.
0 commit comments