Anki/build/ninja_gen/src
a.r d9969a9f4f
lazy_static → once_cell → stabilized versions (#3447)
* Anki: Replace lazy_static with once_cell

Unify to once_cell, lazy_static's replacement. The latter in unmaintained.

* Anki: Replace once_cell with stabilized LazyCell / LazyLock as far as possible

Since 1.80: https://github.com/rust-lang/rust/issues/109736 and https://github.com/rust-lang/rust/pull/98165

Non-Thread-Safe Lazy → std::cell::LazyCell https://doc.rust-lang.org/nightly/std/cell/struct.LazyCell.html

Thread-safe SyncLazy → std::sync::LazyLock https://doc.rust-lang.org/nightly/std/sync/struct.LazyLock.html

The compiler accepted LazyCell only in minilints.

The final use in rslib/src/log.rs couldn't be replaced since get_or_try_init has not yet been standardized: https://github.com/rust-lang/rust/issues/109737

* Declare correct MSRV (dae)

Some of our deps require newer Rust versions, so this was misleading.

Updating the MSRV also allows us to use .inspect() on Option now
2024-09-30 23:35:06 +10:00
..
action.rs Shift output suppression into n2 (#2618) 2023-08-23 11:59:52 +10:00
archives.rs Fix bundling 2023-07-02 18:22:44 +10:00
build.rs Update to Rust 1.80 2024-08-05 15:37:59 +07:00
cargo.rs Skip tests failing around rollover hour (#2909) 2023-12-28 18:06:19 +10:00
command.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
configure.rs Add option to use LTO in release builds 2023-07-02 18:22:44 +10:00
copy.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
git.rs Ensure PyOxidizer checked out when bundling 2024-02-13 10:56:53 +10:00
hash.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
input.rs lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
lib.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00
node.rs Fix remaining accessibility warnings (#3241) 2024-07-10 19:55:08 +07:00
protobuf.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00
python.rs Bump Rust to 1.81 for latest CVE 2024-09-05 12:39:59 +07:00
render.rs Revert "Revert "Pull in latest upstream n2 fixes"" 2023-08-31 08:31:43 +10:00
rsync.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
sass.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00