debian/rust-vendor/codspeed/instrument-hooks/src/fifo/root.zig
raw| 1 | const builtin = @import("builtin"); |
| 2 | const shared = @import("../shared.zig"); |
| 3 | |
| 4 | const impl = switch (builtin.os.tag) { |
| 5 | .linux, .macos => @import("posix.zig"), |
| 6 | .windows => @import("windows.zig"), |
| 7 | else => @compileError("unsupported OS for fifo backend"), |
| 8 | }; |
| 9 | |
| 10 | pub const Command = shared.Command; |
| 11 | pub const Pipe = impl.Pipe; |
| 12 | pub const sendCmd = impl.sendCmd; |
| 13 | pub const sendVersion = impl.sendVersion; |
| 14 | |
| 15 | test { |
| 16 | _ = impl; |
| 17 | } |