Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions capstone-rs/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ capstone_error_def!(
=> UnsupportedX86Masm = CS_ERR_X86_MASM;
);

// Required until https://github.com/rust-lang/rust/issues/103765 is resolved
#[cfg(feature = "std")]
impl std::error::Error for Error {}
impl core::error::Error for Error {}

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

Expand Down
Loading