]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #45198 - oli-obk:fmt_args, r=sfackler
authorbors <bors@rust-lang.org>
Wed, 22 Nov 2017 12:34:56 +0000 (12:34 +0000)
committerbors <bors@rust-lang.org>
Wed, 22 Nov 2017 12:34:56 +0000 (12:34 +0000)
Prevent fmt::Arguments from being shared across threads

Fixes #45197

This is a **breaking change**! Without doing this it's very easy to create race conditions.

There's probably a way to do this without breaking valid use cases, but it would require quite an overhaul of the formatting machinery.

1  2 
src/libcore/fmt/mod.rs

Simple merge