about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-08-26 17:22:13 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-08-26 17:24:52 -0400
commitc8b240241a94a3a5badcbdcbe1b642a0dd440119 (patch)
treef2b1c944738928c976dde8f4787d4260b03be153 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent48717b6f3ce661d2a0d64f7bdfdfb5fd3484ee5b (diff)
downloadrust-c8b240241a94a3a5badcbdcbe1b642a0dd440119.tar.gz
rust-c8b240241a94a3a5badcbdcbe1b642a0dd440119.zip
Avoid function-scoping global variables
In 2e6f2e885506ee4, we added a main function to the publish_toolstate.py script.
Unfortunately, we missed that the Python program implicitly declares global
variables in that code, which means that adding a function changes variable
scoping and breaks other code.

This commit avoids introducing that function and adds a warning to future
editors of the code.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions