Allow exporting function pointers from modules.

This commit is contained in:
Stephen Chung
2022-12-12 18:31:02 +08:00
parent ec5ad320a1
commit d350a948e7
5 changed files with 72 additions and 66 deletions

View File

@@ -50,9 +50,9 @@ fn check_struct_sizes() {
assert_eq!(
size_of::<FnPtr>(),
if cfg!(feature = "no_function") {
64
} else {
72
} else {
80
}
);
assert_eq!(size_of::<LexError>(), 56);