bingen 0.2.0

Procedure macro for bringing a compile-time compiled assembly code as a binary slice.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# bingen

Procedure macro for bringing a compile-time compiled assembly code as a binary slice.

```
let bin = bingen!("aarch64-linux-eabi", "mrs x0, DBGDTR_EL0");
assert_eq!(bin, [0, 4, 51, 213]);
```

Currently, this crate supports macOS+Homebrew / Linux+llvm-8 environments by default.

If you want to use other llvm installation, specify the paths manually like this:
```
BINGEN_CLANG_PATH=/path/to/clang \
  BINGEN_OBJCOPY_PATH=/path/to/llvm-objcopy \
  cargo test
```