Commit 1265c2c
authored
feat(string_wizard): add
When `string_wizard` is used inside `oxc`, and with `oxc_index` having
the `serde` feature enabled, feature unification breaks apart. And there
is no way to force enable a dependencie's dependency's feature. This is
the last resort :-(
```
error[E0433]: failed to resolve: use of undeclared crate or module `serde`
--> crates/string_wizard/src/chunk.rs:5:1
|
5 | / oxc_index::define_index_type! {
6 | | pub struct ChunkIdx = u32;
7 | | }
| |_^ use of undeclared crate or module `serde`
|
= note: this error originates in the macro `$crate::__internal_maybe_index_impl_serde` which comes from the expansion of the macro `oxc_index::define_index_type` (in Nightly builds, run with -Z macro-backtrace for more info)
```serde feature (#3140)1 parent 7fe1cd0 commit 1265c2c
2 files changed
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments