tx2_web/samples.rs
1use std::include_bytes;
2
3const ECHO: &[u8] = include_bytes!("../../../examples/echo.tape");
4const HELLO: &[u8] = include_bytes!("../../../examples/hello.tape");
5
6pub(crate) fn sample_binary_echo() -> &'static [u8] {
7 ECHO
8}
9pub(crate) fn sample_binary_hello() -> &'static [u8] {
10 HELLO
11}