Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Jul 25, 2024
1 parent ecb050f commit f6f8f8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 58 deletions.
48 changes: 1 addition & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions proxy_components/engine_store_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ openssl = { workspace = true } # TODO only for feature
engine_rocks = { workspace = true }
# Should be [dev-dependencies] but we need to control the features
# https://github.com/rust-lang/cargo/issues/6915
engine_test = { workspace = true }
engine_test = { workspace = true, default-features = false }
engine_tiflash = { workspace = true, default-features = false }
engine_traits = { workspace = true }
error_code = { workspace = true }
Expand All @@ -58,7 +58,7 @@ fs2 = "0.4"
futures = "0.3"
futures-util = { version = "0.3.1", default-features = false, features = ["io"] }
getset = "0.1"
grpcio-health = { version = "0.10", features = ["protobuf-codec"] }
grpcio-health = { version = "0.10", default-features = false, features = ["protobuf-codec"] }
into_other = { workspace = true }
itertools = "0.10"
keys = { workspace = true }
Expand All @@ -75,25 +75,25 @@ prometheus = { version = "0.13", features = ["nightly"] }
prometheus-static-metric = "0.5"
protobuf = { version = "2.8", features = ["bytes"] }
proxy_ffi = { workspace = true, default-features = false }
raft = { version = "0.7.0", features = ["protobuf-codec"] }
raft = { version = "0.7.0", default-features = false, features = ["protobuf-codec"] }
raft-proto = { version = "0.7.0", default-features = false }
raftstore = { workspace = true }
raftstore = { workspace = true, default-features = false }
rand = "0.8.3"
serde = "1.0"
serde_derive = "1.0"
serde_with = "1.4"
slog = { workspace = true }
slog-global = { workspace = true }
smallvec = "1.4"
sst_importer = { workspace = true }
sst_importer = { workspace = true, default-features = false }
tempfile = "3.0"
thiserror = "1.0"
tikv_alloc = { workspace = true }
tikv_util = { workspace = true }
time = "0.1"
tokio = { version = "1.5", features = ["sync", "rt-multi-thread"] }
tokio-timer = { git = "https://github.com/tikv/tokio", branch = "tokio-timer-hotfix" }
tracker = { workspace = true}
tracker = { workspace = true }
uuid = { version = "0.8.1", features = ["serde", "v4"] }
yatp = { git = "https://github.com/tikv/yatp.git", branch = "master" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ pub fn deactivate_prof() -> ProfResult<()> {
extern crate libc;

fn print_error_message(_s: &str) {
#[cfg(not(any(
target_os = "android",
target_os = "dragonfly",
target_os = "macos"
)))]
#[cfg(not(any(target_os = "android", target_os = "dragonfly", target_os = "macos")))]
{
unsafe {
let err = *libc::__errno_location();
Expand Down

0 comments on commit f6f8f8a

Please sign in to comment.