diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-12-14 22:12:55 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-12-14 22:36:24 +0100 |
| commit | 8fd01685d5d57fc35c4274176be382ad33035528 (patch) | |
| tree | b95af92a5d217f71ddde58271da59c218be80495 /lib/xixanta/src/object.rs | |
| parent | c0422cf048c1305ec75ddcfd68b81afb8ec5b3f6 (diff) | |
| download | tools.nes-8fd01685d5d57fc35c4274176be382ad33035528.tar.gz tools.nes-8fd01685d5d57fc35c4274176be382ad33035528.zip | |
Allow asan:reserve to receive an usize
This allows for reserving memory regions which go outside of the page
boundary.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta/src/object.rs')
| -rw-r--r-- | lib/xixanta/src/object.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index 049798f..5904b56 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -138,7 +138,7 @@ pub struct Object { pub asan_ignore: bool, /// Amount of bytes reserved for this object on the address sanitizer. - pub asan_reserve: u8, + pub asan_reserve: usize, /// Number of times this object was accessed. Incremented by `get_variable`. pub accessed: usize, |
