-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify importing flatdata-rs #150
Labels
Comments
For the second point, see: rust-lang/rust#63888. It's fixed in nightly but not yet in beta. |
Is this still an issue? @boxdot ? |
Yes, minimal example: #[macro_use]
extern crate flatdata;
include!(concat!(env!("OUT_DIR"), "/graph.rs"));
fn main() {
println!("Hello, world!");
} Looks like there is also a bug in the docs which tell to do: #![allow(dead_code)]
include!(concat!(env!("OUT_DIR"), "/graph.rs")); but the dead code annotation actually does not work. |
VeaaC
added a commit
to VeaaC/flatdata
that referenced
this issue
Nov 19, 2021
Fixes heremaps#150 Signed-off-by: Christian Vetter <[email protected]>
VeaaC
added a commit
to VeaaC/flatdata
that referenced
this issue
Nov 19, 2021
Fixes heremaps#150 Signed-off-by: Christian Vetter <[email protected]>
VeaaC
added a commit
that referenced
this issue
Nov 26, 2021
* Make it easier to use flatdata-rs generated code Fixes #150 Signed-off-by: Christian Vetter <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, to import flatdata in rust, we need to write:
flatdata_intersperse
macro.The text was updated successfully, but these errors were encountered: