1 2 3 4 5 6 7 8 9 10 11 12
// SPDX-License-Identifier: MIT use libftdi1_sys::*; #[test] fn smoke_test() { unsafe { let context = ftdi_new(); assert!(!context.is_null()); ftdi_free(context); } }