Open JanBeh opened 1 year ago
These lines seem to be wrong:
mod hello { include_bytes!(concat!(env!("OUT_DIR")), "/hello.rs"); }
It should be include! instead of include_bytes! and parentheses are wrong. Moreover, top-level attributes make inclusion impossible. See this post and follow-ups on URLO.
include!
include_bytes!
These lines seem to be wrong:
It should be
include!
instead ofinclude_bytes!
and parentheses are wrong. Moreover, top-level attributes make inclusion impossible. See this post and follow-ups on URLO.