Commit 028bd72
Add an explicit dependency on rustc-std-workspace-core
When built as a proc-macro dependency with the `rustc-dep-of-std`
feature, we add an explicit `std` dependency but not one on `core`.
This means that any macros defined in `core` (such as panic-related macros)
that refer to `::core::` will fail to compile when used in
`literal-escaper`.
Work around this by adding an explicit dependency on
`rustc-std-workspace-core` when the `rustc-dep-of-std` feature is
enabled.1 parent 1889c21 commit 028bd72
2 files changed
+9
-1
lines changedSome 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 | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
0 commit comments