working
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
// src/main.rs
|
||||
|
||||
mod transport {
|
||||
#![allow(clippy::all)]
|
||||
#![allow(nonstandard_style, dead_code, unused_imports, unused_parens)]
|
||||
include!(concat!(env!("OUT_DIR"), "/nieco.rs"));
|
||||
}
|
||||
|
||||
use crate::transport::ahoj_::Example;
|
||||
|
||||
fn main() {
|
||||
let msg = Example {
|
||||
f_int32: 42,
|
||||
f_bool: true,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
println!("My message: {:?}", msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user