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 3977b53 commit eb4a0baCopy full SHA for eb4a0ba
.github/workflows/main.yml
@@ -13,7 +13,7 @@ jobs:
13
- uses: dtolnay/rust-toolchain@nightly
14
- name: Run tests
15
run: |
16
- RUSTFLAGS="-D warnings" cargo test
+ RUSTFLAGS="-D warnings -Z sanitizer=address" ASAN_OPTIONS=detect_leaks=0 cargo test
17
18
rustfmt:
19
name: Rustfmt
src/lobject.rs
@@ -1278,6 +1278,6 @@ pub unsafe extern "C" fn luaO_chunkid(
1278
memcpy(out as *mut c_void, cstr!("...") as *const c_void, 3);
1279
out = out.add(3);
1280
}
1281
- memcpy(out as *mut c_void, cstr!("\"]") as *const c_void, 4);
+ memcpy(out as *mut c_void, cstr!("\"]") as *const c_void, 3);
1282
};
1283
0 commit comments