You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
468 B
26 lines
468 B
2 months ago
|
// tests8.rs
|
||
|
//
|
||
|
// This execrise shares `build.rs` with the previous exercise.
|
||
|
// You need to add some code to `build.rs` to make both this exercise and
|
||
|
// the previous one work.
|
||
|
//
|
||
|
// Execute `rustlings hint tests8` or use the `hint` watch subcommand for a
|
||
|
// hint.
|
||
|
|
||
|
// I AM NOT DONE
|
||
|
|
||
|
fn main() {}
|
||
|
|
||
|
#[cfg(test)]
|
||
|
mod tests {
|
||
|
use super::*;
|
||
|
|
||
|
#[test]
|
||
|
fn test_success() {
|
||
|
#[cfg(feature = "pass")]
|
||
|
return;
|
||
|
|
||
|
panic!("no cfg set");
|
||
|
}
|
||
|
}
|