Commit 19514f3
Simplify lazy_static dependency
Summary:
1. `lazy_static` has no default features so `default-features = false` has no effect.
2. The `spin_no_std` feature is not something that you would want in builds where a standard library synchronization primitive like `std::sync::Once` is available, only in the no-std universe, where it is already controlled by this:
https://www.internalfb.com/code/fbsource/[5e45000999be0e3bb870baef8c9b7a1b5ddd0160]/third-party/rust/reindeer.toml?lines=435-438%2C440
The `spin_no_std` feature will sadly remain enabled for now due to a misguided use of it in the `num-bigint-dig` crate, which is a dependency of our default universe.
https://www.internalfb.com/code/fbsource/[d00d16b2dbe75afdd99af7d8343e42258d4f73be]/third-party/rust/vendor/num-bigint-dig-0.8.2/Cargo.toml?lines=56-58
Reviewed By: cjlongoria
Differential Revision: D77739243
fbshipit-source-id: 6d913e83ed0947be489b39dcf40738e4381b87831 parent 90dd1e2 commit 19514f3
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments