Skip to content

Instantly share code, notes, and snippets.

@SOF3
Created September 29, 2019 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SOF3/9f7120f3f6842b0e5f57ff2c36c0ec94 to your computer and use it in GitHub Desktop.
Save SOF3/9f7120f3f6842b0e5f57ff2c36c0ec94 to your computer and use it in GitHub Desktop.
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # echo hello world im born cuz i wanna test sth > string.txt
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # cargo run
Compiling codegen v0.1.0 (/home/sofe/test/macro-test/codegen)
Compiling usegen v0.1.0 (/home/sofe/test/macro-test/usegen)
Compiling macro-test v0.1.0 (/home/sofe/test/macro-test)
Finished dev [unoptimized + debuginfo] target(s) in 0.74s
Running `target/debug/macro-test`
hello world im born cuz i wanna test sth
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # echo bye world ima suicide cuz this not workz > string.txt
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/macro-test`
hello world im born cuz i wanna test sth
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # touch usegen/src/lib.rs
0 | sofe-ThinkPad-T480S @ ~/test/macro-test # cargo run
Compiling usegen v0.1.0 (/home/sofe/test/macro-test/usegen)
Compiling macro-test v0.1.0 (/home/sofe/test/macro-test)
Finished dev [unoptimized + debuginfo] target(s) in 0.26s
Running `target/debug/macro-test`
bye world ima suicide cuz this not workz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment