Skip to content

Commit 0780bfe

Browse files
authored
Unrolled build for rust-lang#140398
Rollup merge of rust-lang#140398 - Berrysoft:cygwin-backtrace, r=tgross35 Fix backtrace for cygwin Closes rust-lang#140304 Depends on: - [x] rust-lang/backtrace-rs#704 This PR could not be merged until the above PR is merged. I'll update the submodule then. EDIT: submodule updated.
2 parents f76c736 + fe64184 commit 0780bfe

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

library/std/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ object = { version = "0.36.0", default-features = false, optional = true, featur
5757
'archive',
5858
] }
5959

60-
[target.'cfg(windows)'.dependencies.windows-targets]
60+
[target.'cfg(any(windows, target_os = "cygwin"))'.dependencies.windows-targets]
6161
path = "../windows_targets"
6262

6363
[dev-dependencies]

library/windows_targets/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pub macro link {
3434
}
3535

3636
#[cfg(not(feature = "windows_raw_dylib"))]
37+
#[cfg(not(target_os = "cygwin"))] // Cygwin doesn't need these libs
3738
#[cfg_attr(target_vendor = "win7", link(name = "advapi32"))]
3839
#[link(name = "ntdll")]
3940
#[link(name = "userenv")]

0 commit comments

Comments
 (0)