diff options
| author | Vadzim Dambrouski <pftbest@gmail.com> | 2018-05-01 17:48:31 +0300 |
|---|---|---|
| committer | Vadzim Dambrouski <pftbest@gmail.com> | 2018-05-01 17:48:31 +0300 |
| commit | f29e62aadf9efa961b3da9d960fb35f748aed0d5 (patch) | |
| tree | f366e318d7c4f32ba338c1a74245cd5210966541 /src/test/incremental/thinlto | |
| parent | 491512ba1ed37a20b514c216c3eddaa732689de9 (diff) | |
| download | rust-f29e62aadf9efa961b3da9d960fb35f748aed0d5.tar.gz rust-f29e62aadf9efa961b3da9d960fb35f748aed0d5.zip | |
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 will 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 compile it on 16bit targets.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
