diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index d9380600..12a0f6e0 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: cmake python3-dev swig flatbuffers-compilers + packages: cmake python3-dev swig flatbuffers-compiler version: 1.1 - uses: actions/checkout@v4 with: @@ -25,7 +25,7 @@ jobs: steps: - uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: cmake python3-dev swig flatbuffers-compilers + packages: cmake python3-dev swig flatbuffers-compiler version: 1.1 - uses: actions/checkout@v4 with: @@ -55,7 +55,7 @@ jobs: steps: - uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: cmake python3-dev swig flatbuffers-compilers + packages: cmake python3-dev swig flatbuffers-compiler version: 1.1 - uses: actions/checkout@v4 with: diff --git a/crates/values/build.rs b/crates/values/build.rs index bb9e16d7..783aa5fe 100644 --- a/crates/values/build.rs +++ b/crates/values/build.rs @@ -12,10 +12,18 @@ // this program. If not, see . // +use flatc_rust::Flatc; use std::path::Path; fn main() { println!("cargo:rerun-if-changed=schema/values.fbs"); + println!( + "cargo:warning=Compiling with flatc version {}", + Flatc::from_env_path() + .version() + .expect("could not find flatc version") + .version() + ); flatc_rust::run(flatc_rust::Args { inputs: &[Path::new("schema/values.fbs")], out_dir: Path::new("../target/flatbuffers/"),