Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Stack Semantics

A friend of mine, Falco, “gifted” this to his every workplace. It’s a representation of a stack semantics shown at runtime.

branch name
commit ID
build number
build node (I guess this is hostname below)
timestamp

compiler info
- language
- compiler ID
- compiler version
- compiler target
- toolchain
- language standard
- language extensions
environment
- host
  - hostname
  - operating system
  - architecture
- processor
  - family
  - description
  - physical cores
  - logical cores

In rust, this can be implemented by passing these fields from build.rs with a little help from the vergen library.