velr_runtime_windows_x86_64/lib.rs
1//! Bundled Velr native runtime for Windows x86_64 MSVC.
2
3pub const FILENAME: &str = "velrc.dll";
4pub const BYTES: &[u8] = include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/prebuilt/velrc.dll"));
5
6pub fn bytes_and_name() -> (&'static [u8], &'static str) {
7 (BYTES, FILENAME)
8}
9
10#[cfg(test)]
11mod tests {
12 use super::*;
13
14 #[test]
15 fn runtime_payload_is_present() {
16 assert_eq!(FILENAME, "velrc.dll");
17 assert!(!BYTES.is_empty());
18 }
19}