commit | 91082644ee78c97fc0b5a5be6a9cb2a7a41a863f | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Fri Jul 21 18:21:58 2023 +0100 |
committer | Andrew Walbran <qwandor@google.com> | Fri Jul 21 18:23:57 2023 +0100 |
tree | c26b4c26ec698a6fd1148104cc3884a7eb7c1521 | |
parent | 4ed9d77720784debaa328c48353b284ff21248df [diff] |
Use OnceLock rather than Once. This avoids the need for a mutable static, and most of the unsafety. Bug: 290018030 Test: m rust Change-Id: Ib9a1af0c74f1620db340ee4abdbfb5e6ad9752a7