]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #39683 - solson:fix-unaligned-load-librustc_metadata, r=bluss
authorCorey Farwell <coreyf@rwell.org>
Thu, 9 Feb 2017 17:14:24 +0000 (12:14 -0500)
committerGitHub <noreply@github.com>
Thu, 9 Feb 2017 17:14:24 +0000 (12:14 -0500)
commit55c17a599432aef3b725663a482c853f0263e183
tree3befa400b908806af0bee989efbee536456272e8
parent7e2b2f30cd55cf2c506852a14ad01c4214406f52
parent5eaa7c2d7df58f186015a40778ea888428d008e8
Rollup merge of #39683 - solson:fix-unaligned-load-librustc_metadata, r=bluss

Fix unaligned load in librustc_metadata::index.

The derived `Clone` impl contains UB and will be unsafe when we fix https://github.com/rust-lang/rust/issues/27060. See [this comment](https://github.com/rust-lang/rust/issues/27060#issuecomment-278617096) for more context.

r? @bluss