Skip to content

Instantly share code, notes, and snippets.

@matklad

matklad/log.txt Secret

Created March 8, 2020 19:54
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 matklad/a685495d4f67a17b62b29ac278af1afa to your computer and use it in GitHub Desktop.
Save matklad/a685495d4f67a17b62b29ac278af1afa to your computer and use it in GitHub Desktop.
20:54:01|~/tmp/hello|HEAD⚡?
λ bat -p build.rs
fn main() {}
20:54:03|~/tmp/hello|HEAD⚡?
λ cargo build --message-format=json
{"reason":"compiler-artifact","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/matklad/tmp/hello/build.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/matklad/tmp/hello/target/debug/build/hello-32d95984799fd778/build-script-build"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/matklad/tmp/hello/target/debug/build/hello-f6883e3ce627d57d/out"}
{"reason":"compiler-artifact","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","target":{"kind":["bin"],"crate_types":["bin"],"name":"hello","src_path":"/home/matklad/tmp/hello/src/main.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/matklad/tmp/hello/target/debug/hello"],"executable":"/home/matklad/tmp/hello/target/debug/hello","fresh":true}
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
20:54:06|~/tmp/hello|HEAD⚡?
λ cargo build --message-format=json
{"reason":"compiler-artifact","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/matklad/tmp/hello/build.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/matklad/tmp/hello/target/debug/build/hello-32d95984799fd778/build-script-build"],"executable":null,"fresh":true}
{"reason":"build-script-executed","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/matklad/tmp/hello/target/debug/build/hello-f6883e3ce627d57d/out"}
{"reason":"compiler-artifact","package_id":"hello 0.1.0 (path+file:///home/matklad/tmp/hello)","target":{"kind":["bin"],"crate_types":["bin"],"name":"hello","src_path":"/home/matklad/tmp/hello/src/main.rs","edition":"2018","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/matklad/tmp/hello/target/debug/hello"],"executable":"/home/matklad/tmp/hello/target/debug/hello","fresh":true}
Finished dev [unoptimized + debuginfo] target(s) in 0.00s
20:54:08|~/tmp/hello|HEAD⚡?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment