Skip to content

Commit adcd3bd

Browse files
authored
Merge pull request #204 from natecraddock/push-xospvynnnkyp
fix(lua-51): turn off ubsan to avoid panicking on Inf
2 parents 350ec18 + 2c26d6c commit adcd3bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build/lua.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pub fn configure(
4747
.target = target,
4848
.optimize = optimize,
4949
.link_libc = true,
50+
.sanitize_c = if (lang == .lua51) .off else null,
5051
});
5152
const library = b.addLibrary(.{
5253
.name = library_name,

0 commit comments

Comments
 (0)