Skip to content

Commit

Permalink
Fix linking bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamidev committed Feb 26, 2024
1 parent 60160b3 commit 46c9a2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/error.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#[cfg(not(feature = "webkit"))]
#[cfg(not(feature = "webkitgtk"))]
mod c;
#[cfg(feature = "webkit")]
#[cfg(feature = "webkitgtk")]
mod common;

#[cfg(not(feature = "webkit"))]
#[cfg(not(feature = "webkitgtk"))]
pub use c::Error;
#[cfg(feature = "webkit")]
#[cfg(feature = "webkitgtk")]
pub use common::Error;

pub type Result<T> = std::result::Result<T, Error>;

0 comments on commit 46c9a2e

Please sign in to comment.