Uh oh!
There was an error while loading. Please reload this page.
Only allow using the atomic intrinsics on integer types - #32647
Conversation
eddyb
commented
Mar 31, 2016
Can you add a compile-fail test for the errors? |
b572125 to
9cc968aCompareAmanieu
commented
Mar 31, 2016
Done (and fixed a few bugs) |
9cc968a to
2f492d8CompareAmanieu
commented
Mar 31, 2016
Updated to fix make check complaints about line length |
2f492d8 to
c3668f9CompareAmanieu
commented
Mar 31, 2016
Fixed more line lengths... |
eddyb
commented
Mar 31, 2016
@bors r+ |
bors
commented
Mar 31, 2016
📌 Commit c3668f9 has been approved by |
bors
commented
Apr 2, 2016
⌛ Testing commit c3668f9 with merge 434c58e... |
bors
commented
Apr 2, 2016
💔 Test failed - auto-mac-64-nopt-t |
c3668f9 to
d96baccCompareAmanieu
commented
Apr 2, 2016
Fixed the test |
alexcrichton
commented
Apr 3, 2016
@bors: r+ d96bacce0752868994e168dcdd8b7e0d9f934f35 |
bors
commented
Apr 3, 2016
⌛ Testing commit d96bacc with merge 8bbd3d5... |
bors
commented
Apr 3, 2016
💔 Test failed - auto-linux-64-opt-mir |
eddyb
commented
Apr 3, 2016
@Amanieu ah, you're hitting the issue where MIR lacked precise spans. Now they're there, but not used. |
d96bacc to
598e122CompareAmanieu
commented
Apr 3, 2016
@eddyb I went with the easy option for now... |
There was a problem hiding this comment.
You need #[feature(rustc_attrs)] to use this attribute.
598e122 to
8620bbaCompareeddyb
commented
Apr 3, 2016
@bors r+ |
bors
commented
Apr 3, 2016
📌 Commit 8620bba has been approved by |
bors
commented
Apr 4, 2016
Only allow using the atomic intrinsics on integer types Using these with non-integer types results in LLVM asserts. Atomic operations on non-integer types will require values be transmuted into an integer type of suitable size. This doesn't affect the standard library since `AtomicBool` and `AtomicPtr` currently use `usize` for atomic operations. r? @eddyb
bors
commented
Apr 4, 2016
💔 Test failed - auto-win-msvc-64-opt-mir |
eddyb
commented
Apr 4, 2016
@bors p=1 retry |
eddyb
commented
Apr 4, 2016
@bors force |
bors
commented
Apr 4, 2016
bors
commented
Apr 4, 2016
💥 Test timed out |
alexcrichton
commented
Apr 4, 2016
@bors: retry clean |
bors
commented
Apr 4, 2016
⌛ Testing commit 8620bba with merge b207e22... |
bors
commented
Apr 4, 2016
💔 Test failed - auto-win-msvc-64-opt-rustbuild |
alexcrichton
commented
Apr 4, 2016
@bors: retry On Mon, Apr 4, 2016 at 11:41 AM, bors notifications@github.com wrote:
|
bors
commented
Apr 4, 2016
⌛ Testing commit 8620bba with merge 144f980... |
alexcrichton
commented
Apr 4, 2016
@bors: retry force clean |
bors
commented
Apr 4, 2016
Only allow using the atomic intrinsics on integer types Using these with non-integer types results in LLVM asserts. Atomic operations on non-integer types will require values be transmuted into an integer type of suitable size. This doesn't affect the standard library since `AtomicBool` and `AtomicPtr` currently use `usize` for atomic operations. r? @eddyb
Using these with non-integer types results in LLVM asserts. Atomic operations on non-integer types will require values be transmuted into an integer type of suitable size.
This doesn't affect the standard library since
AtomicBoolandAtomicPtrcurrently useusizefor atomic operations.r? @eddyb