Skip to content

Commit d3e7922

Browse files
committed
auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton
I corrected spelling and capitalization errors in comments and strings.
2 parents bef51ba + b7bfe04 commit d3e7922

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+64
-64
lines changed

src/libcollections/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ pub trait Set<T>: Collection {
289289
}
290290

291291
/// A mutable collection of values which are distinct from one another that
292-
/// can be mutaed.
292+
/// can be mutated.
293293
pub trait MutableSet<T>: Set<T> + Mutable {
294294
/// Adds a value to the set. Returns `true` if the value was not already
295295
/// present in the set.

src/libcollections/ringbuf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl<T> RingBuf<T> {
132132
elts: Vec::from_fn(cmp::max(MINIMUM_CAPACITY, n), |_| None)}
133133
}
134134

135-
/// Retrieva an element in the `RingBuf` by index.
135+
/// Retrieve an element in the `RingBuf` by index.
136136
///
137137
/// Fails if there is no element with the given index.
138138
///

src/libcollections/smallintmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl<V:Clone> SmallIntMap<V> {
324324
/// Updates a value in the map. If the key already exists in the map,
325325
/// modifies the value with `ff` taking `oldval, newval`.
326326
/// Otherwise, sets the value to `newval`.
327-
/// Returasn `true` if the key did not already exist in the map.
327+
/// Returns `true` if the key did not already exist in the map.
328328
///
329329
/// # Example
330330
///

src/libcollections/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
//!
4545
//! # Representation
4646
//!
47-
//! Rust's string type, `str`, is a sequence of unicode scalar values encoded as a
47+
//! Rust's string type, `str`, is a sequence of Unicode scalar values encoded as a
4848
//! stream of UTF-8 bytes. All strings are guaranteed to be validly encoded UTF-8
4949
//! sequences. Additionally, strings are not null-terminated and can contain null
5050
//! bytes.

src/libcore/char.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ pub fn escape_unicode(c: char, f: |char|) {
201201
/// - Tab, CR and LF are escaped as '\t', '\r' and '\n' respectively.
202202
/// - Single-quote, double-quote and backslash chars are backslash-escaped.
203203
/// - Any other chars in the range [0x20,0x7e] are not escaped.
204-
/// - Any other chars are given hex unicode escapes; see `escape_unicode`.
204+
/// - Any other chars are given hex Unicode escapes; see `escape_unicode`.
205205
///
206206
pub fn escape_default(c: char, f: |char|) {
207207
match c {
@@ -290,7 +290,7 @@ pub trait Char {
290290
/// * Single-quote, double-quote and backslash chars are backslash-
291291
/// escaped.
292292
/// * Any other chars in the range [0x20,0x7e] are not escaped.
293-
/// * Any other chars are given hex unicode escapes; see `escape_unicode`.
293+
/// * Any other chars are given hex Unicode escapes; see `escape_unicode`.
294294
fn escape_default(&self, f: |char|);
295295

296296
/// Returns the amount of bytes this character would need if encoded in

src/libcore/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ extern "rust-intrinsic" {
311311

312312
/// Gives the address for the return value of the enclosing function.
313313
///
314-
/// Using this instrinsic in a function that does not use an out pointer
314+
/// Using this intrinsic in a function that does not use an out pointer
315315
/// will trigger a compiler error.
316316
pub fn return_address() -> *const u8;
317317

src/libcore/str.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ pub trait StrSlice<'a> {
11281128
fn contains_char(&self, needle: char) -> bool;
11291129

11301130
/// An iterator over the characters of `self`. Note, this iterates
1131-
/// over unicode code-points, not unicode graphemes.
1131+
/// over Unicode code-points, not Unicode graphemes.
11321132
///
11331133
/// # Example
11341134
///
@@ -1505,7 +1505,7 @@ pub trait StrSlice<'a> {
15051505
/// Pluck a character out of a string and return the index of the next
15061506
/// character.
15071507
///
1508-
/// This function can be used to iterate over the unicode characters of a
1508+
/// This function can be used to iterate over the Unicode characters of a
15091509
/// string.
15101510
///
15111511
/// # Example
@@ -1549,7 +1549,7 @@ pub trait StrSlice<'a> {
15491549
/// # Return value
15501550
///
15511551
/// A record {ch: char, next: uint} containing the char value and the byte
1552-
/// index of the next unicode character.
1552+
/// index of the next Unicode character.
15531553
///
15541554
/// # Failure
15551555
///
@@ -1559,7 +1559,7 @@ pub trait StrSlice<'a> {
15591559

15601560
/// Given a byte position and a str, return the previous char and its position.
15611561
///
1562-
/// This function can be used to iterate over a unicode string in reverse.
1562+
/// This function can be used to iterate over a Unicode string in reverse.
15631563
///
15641564
/// Returns 0 for next index if called on start index 0.
15651565
///

src/liblibc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* definitions common-to-all (held in modules named c95, c99, posix88, posix01
6666
* and posix08) and definitions that appear only on *some* platforms (named
6767
* 'extra'). This would be things like significant OSX foundation kit, or Windows
68-
* library kernel32.dll, or various fancy glibc, linux or BSD extensions.
68+
* library kernel32.dll, or various fancy glibc, Linux or BSD extensions.
6969
*
7070
* In addition to the per-platform 'extra' modules, we define a module of
7171
* 'common BSD' libc routines that never quite made it into POSIX but show up

src/libnative/io/net.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ impl rtio::RtioUdpSocket for UdpSocket {
901901
//
902902
// It turns out that there's this nifty MSG_DONTWAIT flag which can be passed to
903903
// send/recv, but the niftiness wears off once you realize it only works well on
904-
// linux [1] [2]. This means that it's pretty easy to get a nonblocking
905-
// operation on linux (no flag fiddling, no affecting other objects), but not on
904+
// Linux [1] [2]. This means that it's pretty easy to get a nonblocking
905+
// operation on Linux (no flag fiddling, no affecting other objects), but not on
906906
// other platforms.
907907
//
908908
// To work around this constraint on other platforms, we end up using the
@@ -922,7 +922,7 @@ impl rtio::RtioUdpSocket for UdpSocket {
922922
// operations performed in the lock are *nonblocking* to avoid holding the mutex
923923
// forever.
924924
//
925-
// So, in summary, linux uses MSG_DONTWAIT and doesn't need mutexes, everyone
925+
// So, in summary, Linux uses MSG_DONTWAIT and doesn't need mutexes, everyone
926926
// else uses O_NONBLOCK and mutexes with some trickery to make sure blocking
927927
// reads/writes are still blocking.
928928
//

src/libnative/io/pipe_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ impl UnixAcceptor {
655655
// using the original server pipe.
656656
let handle = self.listener.handle;
657657

658-
// If we've had an artifical call to close_accept, be sure to never
658+
// If we've had an artificial call to close_accept, be sure to never
659659
// proceed in accepting new clients in the future
660660
if self.inner.closed.load(atomic::SeqCst) { return Err(util::eof()) }
661661

src/libnative/io/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl rtio::RtioProcess for Process {
151151
#[cfg(unix)] use libc::EINVAL as ERROR;
152152
#[cfg(windows)] use libc::ERROR_NOTHING_TO_TERMINATE as ERROR;
153153

154-
// On linux (and possibly other unices), a process that has exited will
154+
// On Linux (and possibly other unices), a process that has exited will
155155
// continue to accept signals because it is "defunct". The delivery of
156156
// signals will only fail once the child has been reaped. For this
157157
// reason, if the process hasn't exited yet, then we attempt to collect

src/libnative/io/timer_unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Timers for non-linux/non-windows OSes
11+
//! Timers for non-Linux/non-Windows OSes
1212
//!
1313
//! This module implements timers with a worker thread, select(), and a lot of
1414
//! witchcraft that turns out to be horribly inaccurate timers. The unfortunate
1515
//! part is that I'm at a loss of what else to do one these OSes. This is also
16-
//! why linux has a specialized timerfd implementation and windows has its own
16+
//! why Linux has a specialized timerfd implementation and windows has its own
1717
//! implementation (they're more accurate than this one).
1818
//!
1919
//! The basic idea is that there is a worker thread that's communicated to via a

src/libnative/io/tty_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//! This module contains the implementation of a Windows specific console TTY.
1616
//! Also converts between UTF-16 and UTF-8. Windows has very poor support for
1717
//! UTF-8 and some functions will fail. In particular ReadFile and ReadConsole
18-
//! will fail when the codepage is set to UTF-8 and a unicode character is
18+
//! will fail when the codepage is set to UTF-8 and a Unicode character is
1919
//! entered.
2020
//!
2121
//! FIXME

src/libregex/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ extern crate rand;
381381
#[cfg(test)]
382382
extern crate regex;
383383

384-
// unicode tables for character classes are defined in libunicode
384+
// Unicode tables for character classes are defined in libunicode
385385
extern crate unicode;
386386

387387
pub use parse::Error;

src/libregex/parse.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,9 +620,9 @@ impl<'a> Parser<'a> {
620620
}
621621
}
622622

623-
// Parses a unicode character class name, either of the form \pF where
624-
// F is a one letter unicode class name or of the form \p{name} where
625-
// name is the unicode class name.
623+
// Parses a Unicode character class name, either of the form \pF where
624+
// F is a one letter Unicode class name or of the form \p{name} where
625+
// name is the Unicode class name.
626626
// Assumes that \p or \P has been read (and 'p' or 'P' is the current
627627
// character).
628628
fn parse_unicode_name(&mut self) -> Result<Ast, Error> {

src/libregex/vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl<'t> CharReader<'t> {
364364
}
365365

366366
/// Sets the previous and current character given any arbitrary byte
367-
/// index (at a unicode codepoint boundary).
367+
/// index (at a Unicode codepoint boundary).
368368
#[inline]
369369
pub fn set(&mut self, ic: uint) -> uint {
370370
self.prev = None;

src/librustc/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ fn add_upstream_rust_crates(cmd: &mut Command, sess: &Session,
17481748
//
17491749
// We must continue to link to the upstream archives to be sure
17501750
// to pull in native static dependencies. As the final caveat,
1751-
// on linux it is apparently illegal to link to a blank archive,
1751+
// on Linux it is apparently illegal to link to a blank archive,
17521752
// so if an archive no longer has any object files in it after
17531753
// we remove `lib.o`, then don't link against it at all.
17541754
//

src/librustc/back/lto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub fn run(sess: &session::Session, llmod: ModuleRef,
162162

163163
"verify".with_c_str(|s| llvm::LLVMRustAddPass(pm, s));
164164

165-
time(sess.time_passes(), "LTO pases", (), |()|
165+
time(sess.time_passes(), "LTO passes", (), |()|
166166
llvm::LLVMRunPassManager(pm, llmod));
167167

168168
llvm::LLVMDisposePassManager(pm);

src/librustc/middle/const_eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use std::gc::{Gc, GC};
5656
// copies of general constants
5757
//
5858
// (in theory, probably not at first: if/match on integer-const
59-
// conditions / descriminants)
59+
// conditions / discriminants)
6060
//
6161
// - Non-constants: everything else.
6262
//

src/librustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ pub fn load_ty(cx: &Block, ptr: ValueRef, t: ty::t) -> ValueRef {
10681068
} else if ty::type_is_bool(t) {
10691069
Trunc(cx, LoadRangeAssert(cx, ptr, 0, 2, llvm::False), Type::i1(cx.ccx()))
10701070
} else if ty::type_is_char(t) {
1071-
// a char is a unicode codepoint, and so takes values from 0
1071+
// a char is a Unicode codepoint, and so takes values from 0
10721072
// to 0x10FFFF inclusive only.
10731073
LoadRangeAssert(cx, ptr, 0, 0x10FFFF + 1, llvm::False)
10741074
} else {

src/librustc/middle/trans/debuginfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ pub fn finalize(cx: &CrateContext) {
740740
"Dwarf Version".with_c_str(
741741
|s| llvm::LLVMRustAddModuleFlag(cx.llmod, s, 2));
742742
} else {
743-
// FIXME(#13611) this is a kludge fix because the linux bots have
743+
// FIXME(#13611) this is a kludge fix because the Linux bots have
744744
// gdb 7.4 which doesn't understand dwarf4, we should
745745
// do something more graceful here.
746746
"Dwarf Version".with_c_str(

src/librustc/middle/trans/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ pub fn trans_adt<'a>(mut bcx: &'a Block<'a>,
13861386
}
13871387
}
13881388

1389-
// Now, we just overwrite the fields we've explicity specified
1389+
// Now, we just overwrite the fields we've explicitly specified
13901390
for &(i, ref e) in fields.iter() {
13911391
let dest = adt::trans_field_ptr(bcx, &*repr, addr, discr, i);
13921392
let e_ty = expr_ty_adjusted(bcx, &**e);

src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ pub enum sty {
903903
/// Substs here, possibly against intuition, *may* contain `ty_param`s.
904904
/// That is, even after substitution it is possible that there are type
905905
/// variables. This happens when the `ty_enum` corresponds to an enum
906-
/// definition and not a concerete use of it. To get the correct `ty_enum`
906+
/// definition and not a concrete use of it. To get the correct `ty_enum`
907907
/// from the tcx, use the `NodeId` from the `ast::Ty` and look it up in
908908
/// the `ast_ty_to_ty_cache`. This is probably true for `ty_struct` as
909909
/// well.`

src/librustc/util/snapshot_vec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ impl<T,U,D:SnapshotVecDelegate<T,U>> SnapshotVec<T,U,D> {
148148
match self.undo_log.pop().unwrap() {
149149
OpenSnapshot => {
150150
// This indicates a failure to obey the stack discipline.
151-
fail!("Cannot rollback an uncommited snapshot");
151+
fail!("Cannot rollback an uncommitted snapshot");
152152
}
153153

154154
CommittedSnapshot => {
155155
// This occurs when there are nested snapshots and
156-
// the inner is commited but outer is rolled back.
156+
// the inner is committed but outer is rolled back.
157157
}
158158

159159
NewElem(i) => {

src/librustc_back/x86_64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn get_target_strs(target_triple: String, target_os: abi::Os) -> target_strs
3030
}
3131

3232
abi::OsWindows => {
33-
// FIXME: Test this. Copied from linux (#2398)
33+
// FIXME: Test this. Copied from Linux (#2398)
3434
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\
3535
f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-\
3636
s0:64:64-f80:128:128-n8:16:32:64-S128".to_string()

src/librustdoc/html/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ impl Context {
11551155

11561156
// We have a huge number of calls to write, so try to alleviate some
11571157
// of the pain by using a buffered writer instead of invoking the
1158-
// write sycall all the time.
1158+
// write syscall all the time.
11591159
let mut writer = BufferedWriter::new(w);
11601160
if !cx.render_redirect_pages {
11611161
try!(layout::render(&mut writer, &cx.layout, &page,

src/librustdoc/stability_summary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! This module crawls a `clean::Crate` and produces a summarization of the
1212
//! stability levels within the crate. The summary contains the module
1313
//! hierarchy, with item counts for every stability level per module. A parent
14-
//! module's count includes its childrens's.
14+
//! module's count includes its children's.
1515
1616
use std::ops::Add;
1717
use std::num::Zero;

src/librustrt/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! the processes `argc` and `argv` arguments to be stored
1515
//! in a globally-accessible location for use by the `os` module.
1616
//!
17-
//! Only valid to call on linux. Mac and Windows use syscalls to
17+
//! Only valid to call on Linux. Mac and Windows use syscalls to
1818
//! discover the command line arguments.
1919
//!
2020
//! FIXME #7756: Would be nice for this to not exist.

src/librustrt/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ string types are *not* null terminated.
1919
2020
The other problem with translating Rust strings to C strings is that Rust
2121
strings can validly contain a null-byte in the middle of the string (0 is a
22-
valid unicode codepoint). This means that not all Rust strings can actually be
22+
valid Unicode codepoint). This means that not all Rust strings can actually be
2323
translated to C strings.
2424
2525
# Creation of a C string

src/librustrt/local_ptr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ pub mod compiled {
107107
// efficient sequence of instructions. This also involves dealing with fun
108108
// stuff in object files and whatnot. Regardless, it turns out this causes
109109
// trouble with green threads and lots of optimizations turned on. The
110-
// following case study was done on linux x86_64, but I would imagine that
110+
// following case study was done on Linux x86_64, but I would imagine that
111111
// other platforms are similar.
112112
//
113-
// On linux, the instruction sequence for loading the tls pointer global
113+
// On Linux, the instruction sequence for loading the tls pointer global
114114
// looks like:
115115
//
116116
// mov %fs:0x0, %rax

src/libserialize/json.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ pub fn error_str(error: ErrorCode) -> &'static str {
278278
UnrecognizedHex => "invalid \\u escape (unrecognized hex)",
279279
NotFourDigit => "invalid \\u escape (not four digits)",
280280
NotUtf8 => "contents not utf-8",
281-
InvalidUnicodeCodePoint => "invalid unicode code point",
281+
InvalidUnicodeCodePoint => "invalid Unicode code point",
282282
LoneLeadingSurrogateInHexEscape => "lone leading surrogate in hex escape",
283283
UnexpectedEndOfHexEscape => "unexpected end of hex escape",
284284
}

src/libstd/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ pub trait Buffer: Reader {
14181418
fn consume(&mut self, amt: uint);
14191419

14201420
/// Reads the next line of input, interpreted as a sequence of UTF-8
1421-
/// encoded unicode codepoints. If a newline is encountered, then the
1421+
/// encoded Unicode codepoints. If a newline is encountered, then the
14221422
/// newline is contained in the returned string.
14231423
///
14241424
/// # Example

src/libstd/path/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ impl<'a, P: GenericPath> Display<'a, P> {
841841
/// Returns the path as a possibly-owned string.
842842
///
843843
/// If the path is not UTF-8, invalid sequences will be replaced with the
844-
/// unicode replacement char. This involves allocation.
844+
/// Unicode replacement char. This involves allocation.
845845
#[inline]
846846
pub fn as_maybe_owned(&self) -> MaybeOwned<'a> {
847847
String::from_utf8_lossy(if self.filename {

src/libstd/rt/backtrace.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn demangle(writer: &mut Writer, s: &str) -> IoResult<()> {
138138
"$RP$" => ")",
139139
"$C$" => ",",
140140

141-
// in theory we can demangle any unicode code point, but
141+
// in theory we can demangle any Unicode code point, but
142142
// for simplicity we just catch the common ones.
143143
"$x20" => " ",
144144
"$x27" => "'",
@@ -461,7 +461,7 @@ mod imp {
461461
//
462462
// An additionally oddity in this function is that we initialize the
463463
// filename via self_exe_name() to pass to libbacktrace. It turns out
464-
// that on linux libbacktrace seamlessly gets the filename of the
464+
// that on Linux libbacktrace seamlessly gets the filename of the
465465
// current executable, but this fails on freebsd. by always providing
466466
// it, we make sure that libbacktrace never has a reason to not look up
467467
// the symbols. The libbacktrace API also states that the filename must
@@ -631,7 +631,7 @@ mod imp {
631631
(val & !1) as libc::uintptr_t
632632
}
633633

634-
// This function also doesn't exist on android or arm/linux, so make it
634+
// This function also doesn't exist on Android or ARM/Linux, so make it
635635
// a no-op
636636
#[cfg(target_os = "android")]
637637
#[cfg(target_os = "linux", target_arch = "arm")]

src/libstd/rtdeps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern {}
2222
// LLVM implements the `frem` instruction as a call to `fmod`, which lives in
2323
// libm. Hence, we must explicitly link to it.
2424
//
25-
// On linux librt and libdl are indirect dependencies via rustrt,
25+
// On Linux, librt and libdl are indirect dependencies via rustrt,
2626
// and binutils 2.22+ won't add them automatically
2727
#[cfg(target_os = "linux")]
2828
#[link(name = "dl")]

0 commit comments

Comments
 (0)