aboutsummaryrefslogtreecommitdiff
path: root/gcc/tests/cc_env.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-03-29 23:10:18 -0700
committerDaniel Mueller <deso@posteo.net>2017-03-29 23:10:18 -0700
commitc3b61ebe688e6e353b0fcd737f76851f78b8c74f (patch)
tree010a09addab4d77d7cb1b8ae164c3d4310633124 /gcc/tests/cc_env.rs
parenta0c6480aa6b1c6dad45b67e5bc7c29c5f0a4bb0e (diff)
downloadnitrocli-c3b61ebe688e6e353b0fcd737f76851f78b8c74f.tar.gz
nitrocli-c3b61ebe688e6e353b0fcd737f76851f78b8c74f.tar.bz2
Use macros for generating commands
Commands to the nitrokey all must follow a similar pattern in that they all require to have a constructor (i.e., a new() method) and need to implement the AsRef trait for byte slices. For we require more commands in the future, this change introduces macros that simplify creation of command objects.
Diffstat (limited to 'gcc/tests/cc_env.rs')
0 files changed, 0 insertions, 0 deletions