about summary refs log tree commit diff
path: root/src/librustdoc/lint.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-16 10:05:46 +0000
committerbors <bors@rust-lang.org>2021-03-16 10:05:46 +0000
commitf24ce9b0140d9be5a336954e878d0c1522966bb8 (patch)
tree652b4ddb515deb444280ee580bfe64dfeca2ee75 /src/librustdoc/lint.rs
parent195ad4830e11a544391abe296b146450dea8411b (diff)
parentba00ddc39a99ed70ba107902767db8d4837af921 (diff)
downloadrust-f24ce9b0140d9be5a336954e878d0c1522966bb8.tar.gz
rust-f24ce9b0140d9be5a336954e878d0c1522966bb8.zip
Auto merge of #82838 - Amanieu:rustdoc_asm, r=nagisa
Allow rustdoc to handle asm! of foreign architectures

This allows rustdoc to process code containing `asm!` for architectures other than the current one. Since this never reaches codegen, we just replace target-specific registers and register classes with a dummy one.

Fixes #82869
Diffstat (limited to 'src/librustdoc/lint.rs')
0 files changed, 0 insertions, 0 deletions