diff options
| author | bors <bors@rust-lang.org> | 2018-05-03 02:01:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-03 02:01:04 +0000 |
| commit | 9e3cbbb60a2a00a5fcce8c150c3e8fe5f3209e26 (patch) | |
| tree | d2d26032b5739c7cb14763084c3370a6ee36c26f /src/test/rustdoc/pub-use-extern-macros.rs | |
| parent | 8a37c75a3a661385cc607d934c70e86a9eaf5fd7 (diff) | |
| parent | f29e62aadf9efa961b3da9d960fb35f748aed0d5 (diff) | |
| download | rust-9e3cbbb60a2a00a5fcce8c150c3e8fe5f3209e26.tar.gz rust-9e3cbbb60a2a00a5fcce8c150c3e8fe5f3209e26.zip | |
Auto merge of #50369 - pftbest:unicode, r=SimonSapin
Fix a warning in libcore on 16bit targets. This code is assuming that usize >= 32bits, but it is not the case on 16bit targets. It is producing a warning that can fail the compilation on MSP430 if deny(warnings) is enabled. It is very unlikely that someone would actually use this code on a microcontroller, but since unicode was merged into libcore we have to compile it on 16bit targets. I've tried to make sure that the code stays the same on x86, here is an assembly comparison: https://godbolt.org/g/wFw7dZ r? @SimonSapin
Diffstat (limited to 'src/test/rustdoc/pub-use-extern-macros.rs')
0 files changed, 0 insertions, 0 deletions
