rust-lang / miri

An interpreter for Rust's mid-level intermediate representation
Apache License 2.0
4.39k stars 340 forks source link

Use the interpreted program's TZ variable in localtime_r #3523

Closed saethlin closed 5 months ago

saethlin commented 5 months ago

This requires a bit of wiring and a new dependency, but the tests should correctly pass now regardless of what the host's time zone is.

Fixes https://github.com/rust-lang/miri/issues/3522

RalfJung commented 5 months ago

@bors r+

bors commented 5 months ago

:pushpin: Commit 92715f5624122d2c0041b10f73aacae7710f442b has been approved by RalfJung

It is now in the queue for this repository.

bors commented 5 months ago

:hourglass: Testing commit 92715f5624122d2c0041b10f73aacae7710f442b with merge fc0db10c9f88e9fdc55453d05f7b6cdaaeaf6e72...

bors commented 5 months ago

:sunny: Test successful - checks-actions Approved by: RalfJung Pushing fc0db10c9f88e9fdc55453d05f7b6cdaaeaf6e72 to master...