We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa0c03 commit fecafdbCopy full SHA for fecafdb
c2rust-transpile/tests/snapshots.rs
@@ -98,6 +98,10 @@ fn transpile(platform: Option<&str>, c_path: &Path) {
98
// the appropriate --extern libc=/path/to/liblibc-XXXXXXXXXXXXXXXX.rlib to pass. Skip for now,
99
// as we've already compared the literal text.
100
if rs.contains("libc::") {
101
+ eprintln!(
102
+ "warning: skipping compiling {} with rustc since it depends on libc",
103
+ rs_path.display()
104
+ );
105
return;
106
}
107
0 commit comments