fix smoke from builds produced by --all-features
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
fdc9a9a1b8
commit
74832bdc47
9 changed files with 21 additions and 22 deletions
|
@ -63,10 +63,6 @@ brotli_compression = [
|
|||
]
|
||||
perf_measurements = []
|
||||
sentry_telemetry = []
|
||||
mods = [
|
||||
"dep:libloading"
|
||||
]
|
||||
panic_trap = []
|
||||
|
||||
[dependencies]
|
||||
async-trait.workspace = true
|
||||
|
@ -86,7 +82,6 @@ infer.workspace = true
|
|||
ipaddress.workspace = true
|
||||
itertools.workspace = true
|
||||
libloading.workspace = true
|
||||
libloading.optional = true
|
||||
log.workspace = true
|
||||
lru-cache.workspace = true
|
||||
parking_lot.optional = true
|
||||
|
|
|
@ -62,7 +62,6 @@ fn panic_handler(info: &PanicInfo<'_>, next: &dyn Fn(&PanicInfo<'_>)) {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
#[allow(unexpected_cfgs)]
|
||||
pub fn trap() {
|
||||
#[cfg(core_intrinsics)]
|
||||
//SAFETY: embeds llvm intrinsic for hardware breakpoint
|
||||
|
|
|
@ -14,8 +14,8 @@ pub use pducount::PduCount;
|
|||
pub use server::Server;
|
||||
pub use utils::conduwuit_version;
|
||||
|
||||
#[cfg(not(feature = "mods"))]
|
||||
mod mods {
|
||||
#[cfg(not(conduit_mods))]
|
||||
pub mod mods {
|
||||
#[macro_export]
|
||||
macro_rules! mod_ctor {
|
||||
() => {};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![cfg(feature = "mods")]
|
||||
#![cfg(conduit_mods)]
|
||||
|
||||
pub(crate) use libloading::os::unix::{Library, Symbol};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue