]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #49216 - bjorn3:patch-1, r=estebank
authorkennytm <kennytm@gmail.com>
Thu, 22 Mar 2018 09:51:35 +0000 (17:51 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 22 Mar 2018 14:43:48 +0000 (22:43 +0800)
Don't check interpret_interner when accessing a static to fix miri mutable statics

Mutable statics don't work in my PR to fix the standalone [miri](https://github.com/solson/miri), as init_static didn't get called when the interpret_interner already contained a entry for the static, which is always immutable.

cc solson/miri#364


Trivial merge