about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-26 02:34:39 +0100
committerGitHub <noreply@github.com>2021-03-26 02:34:39 +0100
commit02b27cd79e8de45b79ff67b646c395adafe99c77 (patch)
tree72ecb4e1fd80f40c5a3b910082ec99917a4e5f34 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent0502815529e079676a2ed4c701de2fa0f39ffa51 (diff)
parent5dabc80796822c80223a2e51dcd8cd3c752dd6d9 (diff)
downloadrust-02b27cd79e8de45b79ff67b646c395adafe99c77.tar.gz
rust-02b27cd79e8de45b79ff67b646c395adafe99c77.zip
Rollup merge of #83437 - Amanieu:asm_syntax, r=petrochenkov
Refactor #82270 as lint instead of an error

This PR fixes several issues with #82270 which generated an error when `.intel_syntax` or `.att_syntax` was used in inline assembly:
- It is now a warn-by-default lint instead of an error.
- The lint only triggers on x86. `.intel_syntax` and `.att_syntax` are only valid on x86.
- The lint no longer provides machine-applicable suggestions for two reasons:
	- These changes should not be made automatically since changes to assembly code can be very subtle.
	- The template string is not always just a string: it can contain macro invocation (`concat!`), raw strings, escape characters, etc.

cc ``@asquared31415``
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions