- 09 5月, 2015 25 次提交
-
-
由 bors 提交于
This was causing function calls to be emitted for bitwise complements, even with optimizations on. Steps to reproduce: ``` $ cat wrapping.rs fn main() { let a = std::num::Wrapping(std::env::args().len() as u32); let b = !a; println!("{}", b.0); } $ rustc -O wrapping.rs --emit=asm,link $ grep Not wrapping.s callq _ZN3num8wrapping23Wrapping$LT$u32$GT$.Not3not20hba4b266232e02b1dHkbE ```
-
由 bors 提交于
This stung me more than once in dev. Bonus DRY'ing up of configure that I did on my way past.
-
由 Carol Nichols 提交于
This syntax was removed in b24a3b82 but references remained in the grammar, the reference, rustdoc generation, and some auxiliary test files that don't seem to have been used since 812637e6.
-
由 bors 提交于
r? @aturon
-
由 Sean McArthur 提交于
-
由 Sean McArthur 提交于
-
由 Sean McArthur 提交于
-
由 bors 提交于
This fixes the `distcheck` target and nightly builds.
-
由 bors 提交于
- Successful merges: #24864, #25140, #25179, #25181, #25190, #25194, #25195, #25198, #25203, #25210, #25211, #25215 - Failed merges: #25200
-
由 Manish Goregaokar 提交于
Fix wrong radius valve from 0.0 to 1.0 as above
-
由 Manish Goregaokar 提交于
Many many many people ask in #rust about this libraries, having an explanatory reason will probably help a lot.
-
由 Manish Goregaokar 提交于
fixed a doc mistake in libcore/marker.mk
-
由 Manish Goregaokar 提交于
Properly sorted, Ł goes between L and M.
-
由 Manish Goregaokar 提交于
Tiny tiny nitpick that I just noticed after getting a new laptop (
🍺 +💻 =👼 ) and thus needing to ./configure anew on Yosemite. It's weird to see a message that says you're on 10.9 if you're on 10.10, in a oh-i-wonder-what-else-is-wrong sort of sense-- easy fix with a `>=` since `gcc --version` on 10.10 with the newest xcode still says it's clang.❤ -
由 Manish Goregaokar 提交于
I deleted one unneccessary 'the' and added the href for [bindings]
-
由 Manish Goregaokar 提交于
… compared
-
由 Manish Goregaokar 提交于
cc #24407
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Following paragraph says "we've used `*` which..." but code says "rand=\"0.3.0\""
-
由 Manish Goregaokar 提交于
Building with `--target=mipsel-unknown-linux-gnu` currently results in the following errors, fixed by this PR: ``` rustc: x86_64-unknown-linux-gnu/stage2/lib/rustlib/mipsel-unknown-linux-gnu/lib/libstd /vol/rust/src/libstd/os/linux/raw.rs:76:21: 76:28 error: use of undeclared type name `c_ulong` /vol/rust/src/libstd/os/linux/raw.rs:76 pub st_dev: c_ulong, ^~~~~~~ /vol/rust/src/libstd/os/linux/raw.rs:83:22: 83:29 error: use of undeclared type name `c_ulong` /vol/rust/src/libstd/os/linux/raw.rs:83 pub st_rdev: c_ulong, ^~~~~~~ /vol/rust/src/libstd/sys/common/net2.rs:210:52: 210:70 error: unresolved name `libc::TCP_KEEPIDLE` /vol/rust/src/libstd/sys/common/net2.rs:210 setsockopt(&self.inner, libc::IPPROTO_TCP, libc::TCP_KEEPIDLE, ```
-
由 Manish Goregaokar 提交于
If you have 0 references (`&T`) to a resource, presumably, you could have a mutable reference (`&mut T`). So this only start to make sense at having 1 reference to a resource.
-
由 bors 提交于
This commit is an implementation of [RFC 1066][rfc] where the conclusion was that leaking a value is a safe operation in Rust code, so updating the signature of this function follows suit. [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1066-safe-mem-forget.md Closes #25186
-
由 Richo Healey 提交于
-
由 Alex Crichton 提交于
This fixes the `distcheck` target and nightly builds.
- 08 5月, 2015 15 次提交
-
-
由 Isaac Ge 提交于
Fix wrong radius valve from 0.0 to 1.0 as above
-
由 Huon Wilson 提交于
Many many many people ask in #rust about this libraries, having an explanatory reason will probably help a lot.
-
由 Wei-Ming Yang 提交于
-
由 Wojciech Ogrodowczyk 提交于
Properly sorted, Ł goes between L and M.
-
由 Andrew Straw 提交于
If you have 0 references (`&T`) to a resource, presumably, you could have a mutable reference (`&mut T`). So this only start to make sense at having 1 reference to a resource.
-
由 bors 提交于
* Remove the 2-suffix from some modules * Remove some unused files * Remove double-boxing for `ReentrantMutex`
-
由 Alex Crichton 提交于
This commit is an implementation of [RFC 1066][rfc] where the conclusion was that leaking a value is a safe operation in Rust code, so updating the signature of this function follows suit. [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1066-safe-mem-forget.md Closes #25186
-
由 Simon Kern 提交于
-
由 Simon Kern 提交于
-
由 bors 提交于
Fix #25076. r? @nikomatsakis
-
由 Carol Nichols 提交于
10.10 is out, so it's weird to see a message that says you're on 10.9. Change the message to be >=10.9.
-
由 Simon Kern 提交于
-
由 Simon Kern 提交于
-
由 Tshepang Lekhonkhobe 提交于
-
由 bors 提交于
Ideally this trait implementation would be unstable, requiring crates to opt-in if they would like the functionality, but that's not currently how stability works so the implementation needs to be removed entirely. This may come back at a future date, but for now the conservative option is to remove it. [breaking-change]
-