We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-5135
This depends on the following upstream flatbuffers issues:
type
Once they are resolved We should generate flatbuffers code automatically, as suggested by [~nevi_me]:
{code} // [arrow/rust/arrow/build.rs]
use std::path::Path; use flatc_rust;
fn main() { flatc_rust::run(flatc_rust::Args { lang: "rust", inputs: &[ Path::new("../../format/FIle.fbs"), Path::new("../../format/Message.fbs"), Path::new("../../format/Schema.fbs"), Path::new("../../format/Tensor.fbs"), Path::new("../../format/SparseTensor.fbs"), ], out_dir: Path::new("./src/ipc/gen/"), // doesn't seem to be honoured includes: &[Path::new("../../format/")], ..Default::default() }).expect("Unable to build flatbuffer files"); }
// [arrow/rust/arrow/Cargo.toml] [package] ... build = "build.rs"
...
[build-dependencies] flatc-rust = "0.1" {code}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-5135
This depends on the following upstream flatbuffers issues:
type
google/flatbuffers#5052Once they are resolved We should generate flatbuffers code automatically,
as suggested by [~nevi_me]:
{code}
// [arrow/rust/arrow/build.rs]
use std::path::Path;
use flatc_rust;
fn main() {
flatc_rust::run(flatc_rust::Args {
lang: "rust",
inputs: &[
Path::new("../../format/FIle.fbs"),
Path::new("../../format/Message.fbs"),
Path::new("../../format/Schema.fbs"),
Path::new("../../format/Tensor.fbs"),
Path::new("../../format/SparseTensor.fbs"),
],
out_dir: Path::new("./src/ipc/gen/"),
// doesn't seem to be honoured
includes: &[Path::new("../../format/")],
..Default::default()
}).expect("Unable to build flatbuffer files");
}
// [arrow/rust/arrow/Cargo.toml]
[package]
...
build = "build.rs"
...
[build-dependencies]
flatc-rust = "0.1"
{code}
The text was updated successfully, but these errors were encountered: