Vendor things

This commit is contained in:
John Doty 2024-03-08 11:03:01 -08:00
parent 5deceec006
commit 977e3c17e5
19434 changed files with 10682014 additions and 0 deletions

View file

@ -0,0 +1,20 @@
extern crate wayland_scanner;
use std::env::var;
use std::path::Path;
use wayland_scanner::*;
fn main() {
let protocol_file = "./wayland.xml";
let out_dir_str = var("OUT_DIR").unwrap();
let out_dir = Path::new(&out_dir_str);
println!("cargo:rerun-if-changed={}", protocol_file);
generate_code_with_destructor_events(
protocol_file,
out_dir.join("wayland_api.rs"),
Side::Client,
&[("wl_callback", "done")],
);
}