Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Last active December 20, 2015 20:48
Show Gist options
  • Save pnkfelix/6192821 to your computer and use it in GitHub Desktop.
Save pnkfelix/6192821 to your computer and use it in GitHub Desktop.
% rustc /tmp/toksize.rs && /tmp/toksize
warning: no debug symbols in executable (-arch x86_64)
size_of(Token): 192
extern mod syntax;
use syntax::parse::token::Token;
use std::sys;
fn main() {
println(fmt!("size_of(Token): %?", sys::size_of::<Token>()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment