diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-27 17:07:27 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-28 10:48:04 -0800 |
| commit | 017c5044895a3f708dee46d64dd3d67dac61145e (patch) | |
| tree | e6a509363a77afee8d59d236e478e7e43fd52c61 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | ec57db083ff10fc4da0a2f25df5acf1d4398e560 (diff) | |
| download | rust-017c5044895a3f708dee46d64dd3d67dac61145e.tar.gz rust-017c5044895a3f708dee46d64dd3d67dac61145e.zip | |
syntax: Expand format!() deterministically
Previously, format!("{a}{b}", a=foo(), b=bar()) has foo() and bar() run in a
nondeterminisc order. This is clearly a non-desirable property, so this commit
uses iteration over a list instead of iteration over a hash map to provide
deterministic code generation of these format arguments.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
