Remove memoffset dependency.
This commit is contained in:
Generated
-10
@@ -214,15 +214,6 @@ version = "2.7.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
||||
|
||||
[[package]]
|
||||
name = "memoffset"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-traits"
|
||||
version = "0.2.19"
|
||||
@@ -408,7 +399,6 @@ dependencies = [
|
||||
"libc",
|
||||
"md-5",
|
||||
"memchr",
|
||||
"memoffset",
|
||||
"pbkdf2",
|
||||
"plain",
|
||||
"posix-regex",
|
||||
|
||||
@@ -24,7 +24,6 @@ cc = "1"
|
||||
[dependencies]
|
||||
bitflags = "2"
|
||||
cbitset = "0.2"
|
||||
memoffset = "0.9"
|
||||
posix-regex = { path = "posix-regex", features = ["no_std"] }
|
||||
|
||||
# TODO: For some reason, rand_jitter hasn't been updated to use the latest rand_core
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
use alloc::vec::Vec;
|
||||
use syscall::Sigcontrol;
|
||||
use core::{arch::asm, cell::UnsafeCell, mem, ptr, slice, sync::atomic::AtomicBool};
|
||||
use core::{arch::asm, cell::UnsafeCell, mem::{self, offset_of}, ptr, slice, sync::atomic::AtomicBool};
|
||||
use goblin::error::{Error, Result};
|
||||
|
||||
use super::ExpectTlsFree;
|
||||
|
||||
@@ -31,8 +31,6 @@ extern crate alloc;
|
||||
extern crate cbitset;
|
||||
extern crate goblin;
|
||||
extern crate memchr;
|
||||
#[macro_use]
|
||||
extern crate memoffset;
|
||||
extern crate posix_regex;
|
||||
extern crate rand;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user