Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 4eb8ed4

Browse files
committed
Enforce extern C in libm-analyze
1 parent c8eeb45 commit 4eb8ed4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/libm-analyze/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,7 @@ fn get_functions(files: &[syn::File]) -> Vec<FnSig> {
151151
// If the function signature isn't extern "C", we aren't ABI compatible
152152
// with libm.
153153
if !fn_sig.c_abi {
154-
// FIXME: we should error here, but right that would break everything,
155-
// so we disable erroring.
156-
let e2 = e;
157154
err!("not `extern \"C\"`");
158-
e = e2;
159155
}
160156
// Right now there are no const fn functions. We might add them
161157
// in the future, and at that point, we should tune this here.

0 commit comments

Comments
 (0)