$ rustc primitive_mutref.rs 
$ ./primitive_mutref 
incr関数: x = 2
main関数：x = 1
incr_by_ptr関数: y = 2
main関数：y = 2