Skip to content

Commit ca1414b

Browse files
committed
due to git submodule build failed in windows client
now we revert it to traditional way Signed-off-by: lemonhx <[email protected]>
1 parent b8e9a19 commit ca1414b

32 files changed

+12427
-29
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Cargo.lock

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mimalloc-rust"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
edition = "2018"
55
repository = "https://github.com/lemonhx/mimalloc-rust"
66
description = "the best binding for mimalloc in rust"
@@ -16,5 +16,5 @@ lazy_static = "1.4.0"
1616
unstable = []
1717

1818
[dependencies]
19-
mimalloc-rust-sys = {path="./mimalloc-rust-sys", version = "1.7.3"}
19+
mimalloc-rust-sys = {path="./mimalloc-rust-sys", version = "1.7.3-source"}
2020
cty = "0.2"

build.rs

Lines changed: 0 additions & 19 deletions
This file was deleted.

mimalloc-rust-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "mimalloc-rust-sys"
33
description = "mimalloc_rust hand writted sys binding"
44
license = "MIT"
55
# mimalloc version
6-
version = "1.7.3"
6+
version = "1.7.3-source"
77
edition = "2018"
88

99
[dependencies]

mimalloc-rust-sys/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use std::env;
33
fn main() {
44
let mut build = cc::Build::new();
55

6-
build.include("c_src/mimalloc/include");
7-
build.include("c_src/mimalloc/src");
8-
build.file("c_src/mimalloc/src/static.c");
6+
build.include("./mimalloc/include");
7+
build.include("./mimalloc/src");
8+
build.file("./mimalloc/src/static.c");
99

1010
let target_os = env::var("CARGO_CFG_TARGET_OS").expect("target_os not defined!");
1111
let target_family = env::var("CARGO_CFG_TARGET_FAMILY").expect("target_family not defined!");

mimalloc-rust-sys/c_src/mimalloc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)