Skip to content

Commit dcf7c7b

Browse files
committed
Remove libc patch
Signed-off-by: Ryan Levick <[email protected]>
1 parent 8ff4fc3 commit dcf7c7b

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Cargo.lock

+3-2
Original file line numberDiff line numberDiff line change
@@ -2151,8 +2151,9 @@ checksum = "db13adb97ab515a3691f56e4dbab09283d0b86cb45abd991d8634a9d6f501760"
21512151

21522152
[[package]]
21532153
name = "libc"
2154-
version = "0.2.151"
2155-
source = "git+https://github.com/rylev/rust-libc?rev=fc437f39b197e7713ca91f1385e4b309b3e9a820#fc437f39b197e7713ca91f1385e4b309b3e9a820"
2154+
version = "0.2.150"
2155+
source = "registry+https://github.com/rust-lang/crates.io-index"
2156+
checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c"
21562157
dependencies = [
21572158
"rustc-std-workspace-core",
21582159
]

Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ miniz_oxide.debug = 0
105105
object.debug = 0
106106

107107
[patch.crates-io]
108-
libc = { git = "https://github.com/rylev/rust-libc", rev = "fc437f39b197e7713ca91f1385e4b309b3e9a820" }
109-
110108
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
111109
# here
112110
rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }

tests/ui/check-cfg/well-known-values.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
147147
LL | target_family = "_UNEXPECTED_VALUE",
148148
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149149
|
150-
= note: expected values for `target_family` are: `unix`, `wasm`, `windows`
150+
= note: expected values for `target_family` are: `unix`, `wasi`, `wasm`, `windows`
151151
= help: to expect this configuration use `--check-cfg=cfg(target_family, values("_UNEXPECTED_VALUE"))`
152152
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
153153

@@ -197,7 +197,7 @@ warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
197197
LL | target_os = "_UNEXPECTED_VALUE",
198198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
199199
|
200-
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`
200+
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `vita`, `vxworks`, `wasi`, `wasi-preview2`, `watchos`, `windows`, `xous`
201201
= help: to expect this configuration use `--check-cfg=cfg(target_os, values("_UNEXPECTED_VALUE"))`
202202
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
203203

@@ -277,7 +277,7 @@ LL | #[cfg(target_os = "linuz")] // testing that we suggest `linux`
277277
| |
278278
| help: there is a expected value with a similar name: `"linux"`
279279
|
280-
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`
280+
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `vita`, `vxworks`, `wasi`, `wasi-preview2`, `watchos`, `windows`, `xous`
281281
= help: to expect this configuration use `--check-cfg=cfg(target_os, values("linuz"))`
282282
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
283283

0 commit comments

Comments
 (0)