fn main() {
println!("Hello, world!");
}
==9674== Memcheck, a memory error detector
==9674== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==9674== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==9674== Command: ./hello-world
==9674==
Hello, world!
==9674==
==9674== HEAP SUMMARY:
==9674== in use at exit: 0 bytes in 0 blocks
==9674== total heap usage: 21 allocs, 21 frees, 3,592 bytes allocated
==9674==
==9674== All heap blocks were freed -- no leaks are possible
==9674==
==9674== For counts of detected and suppressed errors, rerun with: -v
==9674== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
All I literally compiled was the "Hello, world" example too O_o
no leaks, I wouldn't be complaining
XD
fn main() {
println!("Hello, world!");
}
==18407== Memcheck, a memory error detector
==18407== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==18407== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==18407== Command: ./testt
==18407==
==18407==
==18407== HEAP SUMMARY:
==18407== in use at exit: 0 bytes in 0 blocks
==18407== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==18407==
==18407== All heap blocks were freed -- no leaks are possible
==18407==
==18407== For counts of detected and suppressed errors, rerun with: -v
==18407== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
:D