- 24 2月, 2015 40 次提交
-
-
由 Manish Goregaokar 提交于
Integer audit in `libstd/thread_local/*`, part of #22240
-
由 Manish Goregaokar 提交于
fmt and hash are pretty straightforward I think. sync is a bit more complex. I thought one or two of the `isize`s ought to be `i32`s, but that would require a bunch of casting (the root cause being the lack of atomics other than isize/usize). r? @alexcrichton
-
由 Manish Goregaokar 提交于
Toss the tomatoes! r? @aturon Fixes #22478. The underlying bug(?) behind that issue still exists though and there’s another issue that reports it.
-
由 Manish Goregaokar 提交于
Fixes #17929
-
由 Manish Goregaokar 提交于
The `-Wl,--as-needed` option was removed during first stages of bootstrapping between Linux and OpenBSD. Restore it, as it seems to be ok now.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Update the reference page to the change in #20680.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Fixes #20302
-
由 Manish Goregaokar 提交于
r? @steveklabnik
-
由 Manish Goregaokar 提交于
-
由 bors 提交于
This is one more step towards completing #13231 This series of commits add support for default trait implementations. The changes in this PR don't break existing code and they are expected to preserve the existing behavior in the compiler as far as built-in bounds checks go. The PR adds negative implementations of `Send`/`Sync` for some types and it removes the special cases for `Send`/`Sync` during the trait obligations checks. That is, it now fully relies on the traits check rather than lang items. Once this patch lands and a new snapshot is created, it'll be possible to add default impls for `Send` and `Sync` and remove entirely the use of `BuiltinBound::{BoundSend,BoundSync}` for positive implementations as well. This PR also removes the restriction on negative implementations. That is, it is now possible to add negative implementations for traits other than `Send`/`Sync`
-
由 bors 提交于
Fixes #22159 Fixes #21721
-
由 Corey Farwell 提交于
Fixes #17929
-
由 Tshepang Lekhonkhobe 提交于
-
由 bors 提交于
Seems to pass `check-stage1`, but I had to tweak some things so it's going through the test gauntlet again.
-
由 Alex Crichton 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
If these tests exit while a thread is panicking it often leads to situations like #22628.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
This test appears to pass cleanly on master. Closes #13361
-
由 Manish Goregaokar 提交于
We already do this for the function arguments, but miss it for the retslot pointer, which can lead to LLVM assertions because the retslot has the wrong type. Fixes #22663
-
由 Manish Goregaokar 提交于
Leading hyphens already don't work (#22661), so no code should break from this change. Closes #22661.
-
由 Manish Goregaokar 提交于
We can't call into the inner reader for a 0-byte read because that may end up blocking or returning an error. r? @alexcrichton
-
由 Sébastien Marie 提交于
The -Wl,--as-needed option was removed during first stages of bootstrapping between Linux and OpenBSD. Restore it, as it seems to be ok now.
-
由 Manish Goregaokar 提交于
e. g. ``` let b: Box<Foo> = Box::from_raw(p); ``` instead of ``` let b: Box<Foo> = mem::transmute(p); ``` Patch also changes closure release code in `src/libstd/sys/unix/thread.rs` when `pthread_create` failed. Raw pointer was transmuted to box of `FnOnce()` instead of `Thunk`. This code was probably never executed, because `pthread_create` rarely fails. (And there are two more patches in PR: fix typo in doc and mark `from_raw` and `into_raw` functions inline.)
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
r? @huonw
-
由 Manish Goregaokar 提交于
"body": null,
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
- Various grammatical changes. - Use triple-backtick syntax and `sh` highlighting for code blocks. - Fix indentation of code block in step 2 of \"Building on Windows\". - Use title case for \"Getting Help\" subheading.
-
由 Manish Goregaokar 提交于
The Rust Reference should include the tuple indexing (using a number as a field) notation; currently it is only available on http://doc.rust-lang.org/std/primitive.tuple.html and not easily searchable.
-
由 Manish Goregaokar 提交于
fix issue #22535
-