File: fix-test-feature-requirements.patch

package info (click to toggle)
rust-cxx 1.0.141-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,632 kB
  • sloc: cpp: 1,573; javascript: 124; sh: 11; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
--- a/tests/cxx_string.rs
+++ b/tests/cxx_string.rs
@@ -45,6 +45,7 @@
 }
 
 #[test]
+#[cfg(feature = "std")]
 fn test_io_write() {
     let_cxx_string!(s = "");
     let mut reader: &[u8] = b"Hello, world!";