hide nixide-sys tests behind feature flags

This commit is contained in:
do butterflies cry? 2026-03-27 15:35:29 +10:00
parent ae19428cd5
commit e4fe62f7a6
Signed by: cry
GPG key ID: F68745A836CA0412
5 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#![cfg(feature = "nix-expr-c")]
#![cfg(test)]
use std::{

View file

@ -1,3 +1,4 @@
#![cfg(feature = "nix-flake-c")]
#![cfg(test)]
use std::ptr;

View file

@ -1,3 +1,4 @@
#![cfg(feature = "nix-expr-c")]
#![cfg(test)]
use std::ffi::CString;

View file

@ -1,3 +1,4 @@
#![cfg(feature = "nix-expr-c")]
#![cfg(test)]
use std::{

View file

@ -1,3 +1,4 @@
#![cfg(feature = "nix-store-c")]
#![cfg(test)]
use std::{ffi::CString, ptr};