Add a test for #2969
This commit is contained in:
parent
1c408818c8
commit
e1069403ca
2 changed files with 46 additions and 0 deletions
|
|
@ -190,3 +190,23 @@ pub struct Params {
|
|||
job: Option<Job>
|
||||
}
|
||||
}
|
||||
|
||||
// #2969
|
||||
#[cfg(not(all(feature="std",
|
||||
any(target_os = "linux", target_os = "android",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly",
|
||||
target_os = "haiku",
|
||||
target_os = "emscripten",
|
||||
target_os = "solaris",
|
||||
target_os = "cloudabi",
|
||||
target_os = "macos", target_os = "ios",
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd", target_os = "bitrig",
|
||||
target_os = "redox",
|
||||
target_os = "fuchsia",
|
||||
windows,
|
||||
all(target_arch = "wasm32", feature = "stdweb"),
|
||||
all(target_arch = "wasm32", feature = "wasm-bindgen"),
|
||||
))))]
|
||||
type Os = NoSource;
|
||||
|
|
|
|||
|
|
@ -219,3 +219,29 @@ mod issue_2620 {
|
|||
job: Option<Job>,
|
||||
}
|
||||
}
|
||||
|
||||
// #2969
|
||||
#[cfg(not(all(
|
||||
feature = "std",
|
||||
any(
|
||||
target_os = "linux",
|
||||
target_os = "android",
|
||||
target_os = "netbsd",
|
||||
target_os = "dragonfly",
|
||||
target_os = "haiku",
|
||||
target_os = "emscripten",
|
||||
target_os = "solaris",
|
||||
target_os = "cloudabi",
|
||||
target_os = "macos",
|
||||
target_os = "ios",
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd",
|
||||
target_os = "bitrig",
|
||||
target_os = "redox",
|
||||
target_os = "fuchsia",
|
||||
windows,
|
||||
all(target_arch = "wasm32", feature = "stdweb"),
|
||||
all(target_arch = "wasm32", feature = "wasm-bindgen"),
|
||||
)
|
||||
)))]
|
||||
type Os = NoSource;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue