about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-27 17:07:27 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-28 10:48:04 -0800
commit017c5044895a3f708dee46d64dd3d67dac61145e (patch)
treee6a509363a77afee8d59d236e478e7e43fd52c61 /src/rustllvm/ExecutionEngineWrapper.cpp
parentec57db083ff10fc4da0a2f25df5acf1d4398e560 (diff)
downloadrust-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