build: embed udev rules in the binary

It is nice if the program can emit its own udev file.
This commit is contained in:
2024-07-07 15:34:03 -07:00
parent 2937de6fcd
commit c8511d8c92
3 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ const Config = @import("./Config.zig");
const lj = @import("./labjack.zig");
const RotCtl = @import("./RotCtl.zig");
const udev = @import("udev_rules");
const log = std.log.scoped(.main);
pub fn main() !u8 {