- Eliminated dead code methods (get_connection_state, etc.) - Fixed unused variable warnings by prefixing with underscore - Applied cargo fix to all major crates - Reduced warnings from 6442 to ~5295 - Fixed event_sender variable warnings across codebase - Removed truly unused methods and constants Remaining warnings are primarily: - Documentation (missing_docs) - ~4700 warnings - Minor unused fields/methods - ~500 warnings - These are non-critical and can be addressed incrementally
13 lines
525 B
Rust
13 lines
525 B
Rust
//! Build script for ML crate - CUDA/PyTorch support REMOVED
|
|
//!
|
|
//! This build script has been simplified to remove all GPU/CUDA dependencies
|
|
//! for optimal HFT performance using CPU-only inference with candle-core
|
|
|
|
fn main() {
|
|
// Minimal build script - no GPU dependencies
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
println!("cargo:rustc-cfg=cpu_only_build");
|
|
|
|
// All CUDA/PyTorch compilation removed for HFT latency optimization
|
|
println!("cargo:info=Building CPU-only ML crate for HFT inference");
|
|
} |