about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-07 21:48:04 -0700
committerGitHub <noreply@github.com>2016-07-07 21:48:04 -0700
commit9b4e2a5b2d410318051a38e6b7da10b45975d022 (patch)
tree2d82fc59c96cf68377aeb7c2726db4068b5bdae8 /src/libstd/sys/unix/stack_overflow.rs
parent182bcdbea1162c4b0200937ea2bb4b0139453a4e (diff)
parente32da1275300a437490dd2e37ec49d7f11e3d780 (diff)
downloadrust-9b4e2a5b2d410318051a38e6b7da10b45975d022.tar.gz
rust-9b4e2a5b2d410318051a38e6b7da10b45975d022.zip
Auto merge of #34682 - CensoredUsername:clobber-docs, r=eddyb
Correct inline assembly clobber formatting.

Fixes the formatting for inline assembly clobbers used in the book.
As this causes llvm to silently ignore the clobber an error is also
added to catch cases in which the wrong formatting was used.
Additionally a test case is added to confirm that this error works.

This fixes #34458

Note: this is only one out of a few possible ways to fix the issue
depending on how the asm! macro formatting is wanted.

Additionally, it'd be nicer to have some kind of test or feedback
from llvm if the clobber constraints are valid, but I do not know
enough about llvm to say if or how this is possible.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions