rust/tests/run-make/include_bytes_deps/main.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
270 B
Rust
Raw Normal View History

2021-05-18 20:46:41 -05:00
#[doc = include_str!("input.md")]
pub struct SomeStruct;
pub fn main() {
const INPUT_TXT: &'static str = include_str!("input.txt");
const INPUT_BIN: &'static [u8] = include_bytes!("input.bin");
println!("{}", INPUT_TXT);
println!("{:?}", INPUT_BIN);
}