- 03 4月, 2015 12 次提交
-
-
由 Simonas Kazlauskas 提交于
This commit causes no change in trans semantics, it just moves some functions around and deduplicates them.
-
由 Simonas Kazlauskas 提交于
-
由 Simonas Kazlauskas 提交于
This discovers another class of mis-trans where we wrap multiple native functions into a single wrapper, which is wrong.
-
由 Simonas Kazlauskas 提交于
-
由 Simonas Kazlauskas 提交于
-
由 Simonas Kazlauskas 提交于
It emits the same symbol – `transmute` – from the same crate twice.
-
由 bors 提交于
This means passing in e.g. a `Vec<u8>` or `String` will work as intended, rather than deref-ing to `&mut [u8]` or `&mut str`. [breaking-change] Closes #23768
-
由 bors 提交于
These constants are small and can fit even in `u8`, but semantically they have type `usize` because they denote sizes and are almost always used in `usize` context. The change of their type to `u32` during the integer audit led only to the large amount of `as usize` noise (see the second commit, which removes this noise). This is a minor [breaking-change] to an unstable interface. r? @aturon
-
由 bors 提交于
Do not suggest `#![feature(...)]` if we are in beta or stable channel. Fix #23973
-
由 bors 提交于
affected struct: - sockaddr_storage - sockaddr_un apply the same method used for linux for: - bitrig/openbsd - freebsd - dragonfly this commit unbreak build for openbsd (and bitrig, freebsd and dragonfly too I think) r? @alexcrichton
-
由 bors 提交于
-
由 Felix S. Klock II 提交于
-
- 02 4月, 2015 28 次提交
-
-
由 Felix S. Klock II 提交于
-
由 bors 提交于
I also wanted to unignore https://github.com/rust-lang/rust/blob/master/src/libsyntax/ext/expand.rs#L1768-L1777 since the issue it references is closed, but the test fails, and it's internals aren't super clear to me.
-
由 Felix S. Klock II 提交于
Fix #23973
-
由 Steve Klabnik 提交于
-
由 bors 提交于
r? @steveklabnik
-
由 Sébastien Marie 提交于
unbreak build for: - linux (mips/mipsel) - freebsd - dragonfly - bitrig - openbsd by converting unsigned integers `-1` to `!0`
-
由 Sébastien Marie 提交于
affected struct: - sockaddr_storage - sockaddr_un apply the same method used for linux for: - bitrig/openbsd - freebsd - dragonfly
-
由 bors 提交于
This is the first use of `box`. It's an unstable feature and also isn't consistent with the use of `Box` in the "original" code above it. r? @steveklabnik
-
由 bors 提交于
-
由 Alex Crichton 提交于
-
由 Trent Nadeau 提交于
Create a new section under the Unstable section for `box` syntax and patterns and removed their discussion from the Pointers section.
-
由 Alex Crichton 提交于
Collected from TWiR and the PR log. r? @alexcrichton f? @brson @nikomatsakis @huonw
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
-
由 Alex Crichton 提交于
Conflicts: src/test/compile-fail/coherence-impls-copy.rs
-
由 Alex Crichton 提交于
@alexcrichton here are the two most recent Bitrig snapshots. As usual, please upload the snapshots to the snapshot server: https://github.com/dhuseby/rust-cross-bitrig/blob/master/snapshots/rust-stage0-2015-03-25-a923278-bitrig-x86_64-e56c400a04bca7b52ab54e0780484bb68fa449c2.tar.bz2 https://github.com/dhuseby/rust-cross-bitrig/blob/master/snapshots/rust-stage0-2015-03-27-5520801-bitrig-x86_64-55a69b0ae5481ccda54c2fcfc54025a0945c4f57.tar.bz2 BTW, I was just able to get the Bitrig Rust build to pass "make check" so I'll submit a PR once this lands to fix the tests and get the Bitrig buildbot to finally complete a build. That will hopefully end this nonsense of hand building and uploading snapshots.
👍 -
由 Alex Crichton 提交于
Feature-gate unsigned unary negate. Discussed in weekly meeting here: https://github.com/rust-lang/meeting-minutes/blob/master/weekly-meetings/2015-03-31.md#feature-gate--expr and also in the internals thread here: http://internals.rust-lang.org/t/forbid-unsigned-integer/752
-
由 Alex Crichton 提交于
Conflicts: src/libcore/num/mod.rs
-
由 Aaron Turon 提交于
-
由 Felix S. Klock II 提交于
-
由 Felix S. Klock II 提交于
-
由 bors 提交于
-
由 Alex Crichton 提交于
-
由 Felix S. Klock II 提交于
Namely, the special case treatment for `div`/`rem` is only applicable to signed integer values. Clearly RFC 1027 would have saved us here! ;)
-
由 Alex Crichton 提交于
This commit renames and stabilizes: * `Condvar::wait_timeout_ms` (renamed from `wait_timeout`) * `thread::park_timeout_ms` (renamed from `park_timeout`) * `thread::sleep_ms` (renamed from `sleep`) In each case, the timeout is taken as a `u32` number of milliseconds, rather than a `Duration`. These functions are likely to be deprecated once a stable form of `Duration` is available, but there is little cost to having these named variants around, and it's crucial functionality for 1.0. [breaking-change] r? @alexcrichton cc @sfackler @carllerche
-
由 Alex Crichton 提交于
Like it says. r? @alexcrichton
-
由 Felix S. Klock II 提交于
-
由 Dave Huseby 提交于
-