Skip to content

Commit 43f9ffd

Browse files
authored
Fix docs build, disable C++ tests (#23)
It seems docs fail to build because C++ code dynamically clones a repo - which is not something docs (and some other systems) allow to do. Disabling google tests - we don't use them anyway, so compilation should be faster too.
1 parent 7ed4318 commit 43f9ffd

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastpfor"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = "FastPFOR library written in Rust."
55
authors = ["Francisco Jimenez <jjcfrank@gmail.com>", "Yuri Astrakhan <YuriAstrakhan@gmail.com>"]
66
repository = "https://github.com/jjcfrancisco/fastpfor"

build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ fn main() {
99

1010
// Compile FastPFOR using CMake
1111
println!("cargo:rerun-if-changed=cpp");
12-
let lib_path = cmake::Config::new("cpp").build().join("lib");
12+
let lib_path = cmake::Config::new("cpp")
13+
.define("WITH_TEST", "OFF")
14+
.build()
15+
.join("lib");
1316
let lib_path = lib_path.to_str().unwrap();
1417

1518
// Compile the bridge

0 commit comments

Comments
 (0)