Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

20
vendor/cfg_aliases/tests/test.rs vendored Normal file
View File

@@ -0,0 +1,20 @@
use cfg_aliases::cfg_aliases;
#[test]
fn basic_setup() {
// Same as in the docs.
// Note that tests build this already, but unfortunately this doesn't catch clippy lints!
// See https://github.com/rust-lang/rust/issues/56232
cfg_aliases! {
// Platforms
wasm: { target_arch = "wasm32" },
android: { target_os = "android" },
macos: { target_os = "macos" },
linux: { target_os = "linux" },
// Backends
surfman: { all(unix, feature = "surfman", not(wasm)) },
glutin: { all(feature = "glutin", not(wasm)) },
wgl: { all(windows, feature = "wgl", not(wasm)) },
dummy: { not(any(wasm, glutin, wgl, surfman)) },
};
}