Skip to content

Commit c89324c

Browse files
committed
Found some missing #[cfg] guards. Oops!
1 parent 9bf818f commit c89324c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crackers/src/gadget/library/builder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use derive_builder::Builder;
22
use jingle::sleigh::OpCode;
33
#[cfg(feature = "pyo3")]
44
use pyo3::pyclass;
5+
#[cfg(feature = "pyo3")]
56
use pyo3::pymethods;
67
use serde::{Deserialize, Serialize};
78
use std::collections::HashSet;
@@ -74,6 +75,7 @@ pub sample_size: Option<usize>,
7475
pub base_address: Option<u64>,
7576
*/
7677

78+
#[cfg(feature = "pyo3")]
7779
#[pymethods]
7880
impl GadgetLibraryConfig {
7981
#[getter]

0 commit comments

Comments
 (0)