Skip to content

Commit b0cd50d

Browse files
committed
chore: fixed build issues
1 parent d3f40c4 commit b0cd50d

File tree

9 files changed

+3
-4
lines changed

9 files changed

+3
-4
lines changed
File renamed without changes.
File renamed without changes.

rust-lib/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repository = "https://github.com/Sayan751/email-address-parser"
99
homepage = "https://github.com/Sayan751/email-address-parser"
1010
readme = "README.md"
1111
keywords = ["email-address", "parser", "rfc-5322", "rfc-6532"]
12+
exclude = ["build.rs", ".test_data", "benches", "tests", "Development.md"]
1213

1314
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1415

@@ -36,5 +37,6 @@ wasm-opt = ["-Oz", "--enable-mutable-globals"]
3637
lto = true
3738

3839
[[bench]]
40+
path = "benches"
3941
name = "benchmarks"
4042
harness = false

rust-lib/build.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ fn main() {
1111
let out_dir = env::var_os("OUT_DIR").unwrap();
1212
let test_file_path = path::Path::new(&out_dir).join("generated_tests.rs");
1313
let mut test_file = fs::File::create(&test_file_path).unwrap();
14-
let test_data_root = path::Path::new(&root)
15-
.join("..")
16-
.join("resources")
17-
.join(".test_data");
14+
let test_data_root = path::Path::new(&root).join(".test_data");
1815

1916
let read_test_data = |file_name: &str| {
2017
fs::read_to_string(test_data_root.join(file_name))

0 commit comments

Comments
 (0)