Use #[cfg(unix)] and #[cfg(windows)] everywhere

This commit is contained in:
Brian Anderson
2012-06-07 21:38:25 -07:00
parent 7ef825bb60
commit 95b9d538b8
18 changed files with 103 additions and 187 deletions

View File

@@ -152,7 +152,7 @@ mod tests {
#[test]
#[should_fail]
#[ignore(cfg(target_os = "win32"))]
#[ignore(cfg(windows))]
fn test_overrun_get() {
let cv = malloc(16u as size_t);
@@ -161,7 +161,7 @@ mod tests {
#[test]
#[should_fail]
#[ignore(cfg(target_os = "win32"))]
#[ignore(cfg(windows))]
fn test_overrun_set() {
let cv = malloc(16u as size_t);