diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..176a458f94e0ea5272ce67c36bf30b6be9caf623 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/src/windows.rs b/src/windows.rs index 90e01fc46fa532a8d578efd7ee3d5878f94d2c26..2066002408288b997433bd842660f7fcf66ab83c 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -373,7 +373,10 @@ fn test_machine() { vec!["unknown"] }; - assert!(target.contains(&&*PlatformInfo::new().unwrap().machine())); + let info = PlatformInfo::new().unwrap(); + + println!("{}", info.machine()); + assert!(target.contains(&&*info.machine())); } // TODO: figure out a way to test these