Commit ccfc4d9
authored
Fix publish to Artifactory crates registry (#1072)
* Remove aliases for crates rustc-std-workspace-core and rustc-std-workspace-alloc
Those aliases causes problems in Artifactory crates registry and
prevents rustix from being discovered (and as a result downloaded by cargo).
This has been introduced in version 0.38.10 when the dep: syntax for
Cargo.toml was first introduced.
My guess is that the usage of the core and alloc keywords caused issues
while uploading and indexing the crate.
* Remove rustc-std-workspace-alloc dependency
Trying to fix the breakage of the rustc-dep-of-std feature I have noticed that only the std feature uses the alloc feature.
and the alloc feature was preventing from me to just remove the dep: syntax
So I just deleted the rustc-std-alloc dep and it seems to work
* Alias alloc in lib.rs instead of Cargo.toml
The alias is only activated if the alloc feature is activated1 parent d24267b commit ccfc4d9
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments