Skip to content

Commit

Permalink
due to git submodule build failed in windows client
Browse files Browse the repository at this point in the history
now we revert it to traditional way

Signed-off-by: lemonhx <[email protected]>
  • Loading branch information
LemonHX committed Dec 22, 2021
1 parent b8e9a19 commit ca1414b
Show file tree
Hide file tree
Showing 32 changed files with 12,427 additions and 29 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

38 changes: 38 additions & 0 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mimalloc-rust"
version = "0.1.4"
version = "0.1.5"
edition = "2018"
repository = "https://github.com/lemonhx/mimalloc-rust"
description = "the best binding for mimalloc in rust"
Expand All @@ -16,5 +16,5 @@ lazy_static = "1.4.0"
unstable = []

[dependencies]
mimalloc-rust-sys = {path="./mimalloc-rust-sys", version = "1.7.3"}
mimalloc-rust-sys = {path="./mimalloc-rust-sys", version = "1.7.3-source"}
cty = "0.2"
19 changes: 0 additions & 19 deletions build.rs

This file was deleted.

2 changes: 1 addition & 1 deletion mimalloc-rust-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "mimalloc-rust-sys"
description = "mimalloc_rust hand writted sys binding"
license = "MIT"
# mimalloc version
version = "1.7.3"
version = "1.7.3-source"
edition = "2018"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions mimalloc-rust-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ use std::env;
fn main() {
let mut build = cc::Build::new();

build.include("c_src/mimalloc/include");
build.include("c_src/mimalloc/src");
build.file("c_src/mimalloc/src/static.c");
build.include("./mimalloc/include");
build.include("./mimalloc/src");
build.file("./mimalloc/src/static.c");

let target_os = env::var("CARGO_CFG_TARGET_OS").expect("target_os not defined!");
let target_family = env::var("CARGO_CFG_TARGET_FAMILY").expect("target_family not defined!");
Expand Down
1 change: 0 additions & 1 deletion mimalloc-rust-sys/c_src/mimalloc
Submodule mimalloc deleted from 03ba26
Loading

0 comments on commit ca1414b

Please sign in to comment.