We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5247304 commit bb1dc9dCopy full SHA for bb1dc9d
tinyrust.rs
@@ -23,7 +23,7 @@ pub fn main() {
23
// Make a Rust value representing the string constant we stashed
24
// in the ELF file header.
25
let message: &'static [u8] = unsafe {
26
- mem::transmute(slice::from_raw_parts(0x00400000 as *const u8, 7))
+ mem::transmute(slice::from_raw_parts(0x00400008 as *const u8, 7))
27
};
28
29
write(1, message);
0 commit comments