chore: add vendor dependencies for kauma build
This commit is contained in:
parent
7c94e5d8fb
commit
067ef6141c
1758 changed files with 398473 additions and 0 deletions
14
vendor/cfg-if/tests/xcrate.rs
vendored
Normal file
14
vendor/cfg-if/tests/xcrate.rs
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
cfg_if::cfg_if! {
|
||||
if #[cfg(foo)] {
|
||||
fn works() -> bool { false }
|
||||
} else if #[cfg(test)] {
|
||||
fn works() -> bool { true }
|
||||
} else {
|
||||
fn works() -> bool { false }
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn smoke() {
|
||||
assert!(works());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue