11 lines
346 B
Rust
11 lines
346 B
Rust
#![cfg(windows)]
|
|
#![allow(dead_code)]
|
|
|
|
// Compile the production connect hook directly into an executable test target.
|
|
// The hook crate itself is a cdylib, whose unit-test artifact remains a DLL and
|
|
// therefore cannot be executed by the native Windows test runner.
|
|
fn write_log(_: &str) {}
|
|
|
|
#[path = "../src/connect_hook.rs"]
|
|
mod connect_hook;
|