about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-20 12:08:20 +0200
committerGitHub <noreply@github.com>2020-09-20 12:08:20 +0200
commit3268e33199c98e5bfb035ea70130ea36af00e714 (patch)
treed9ac2bb360e40952559311cf331b286750c1ea03 /src/test/codegen
parentc12feb35dbe5793d96a47286f93b59ae257d3418 (diff)
parentf4a7149f499a4b91d296678002f0bce4ded85038 (diff)
downloadrust-3268e33199c98e5bfb035ea70130ea36af00e714.tar.gz
rust-3268e33199c98e5bfb035ea70130ea36af00e714.zip
Rollup merge of #76818 - hbina:dont_compile_regex_all_the_time, r=ecstatic-morse
Don't compile regex at every function call.

Use `SyncOnceCell` to only compile it once.
I believe this still adds some kind of locking mechanism?

Related issue: https://github.com/rust-lang/rust/issues/76817
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions