Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 3fcf99c

Browse files
committed
Cargo-ify the single-file benchmarks.
This increases uniformity, which makes it easier to write scripts for the entire suite.
1 parent a29da16 commit 3fcf99c

File tree

9 files changed

+27
-9
lines changed

9 files changed

+27
-9
lines changed

helloworld/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[package]
2+
name = "helloworld"
3+
version = "0.1.0"
4+
5+
[dependencies]

helloworld/makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
all:
2-
$(RUSTC) hello.rs -Ztime-passes -Zinput-stats
2+
$(CARGO_BUILD)
33
touch:
4-
rm hello
4+
rm -rf target/debug/*
55
clean:
6-
rm hello
6+
rm target -rf
7+
rm Cargo.lock
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[package]
2+
name = "issue-32062-equality-relations-complexity"
3+
version = "0.1.0"
4+
5+
[dependencies]
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
all:
2-
$(RUSTC) issue-32062.rs -Ztime-passes -Zinput-stats
2+
$(CARGO_BUILD)
33
touch:
4-
rm issue-32062
4+
rm -rf target/debug/*
55
clean:
6-
rm issue-32062
6+
rm target -rf
7+
rm Cargo.lock
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[package]
2+
name = "issue-32278-big-array-of-strings"
3+
version = "0.1.0"
4+
5+
[dependencies]
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
all:
2-
$(RUSTC) big-array-of-strings.rs -Ztime-passes -Zinput-stats
2+
$(CARGO_BUILD)
33
touch:
4-
rm big-array-of-strings
4+
rm -rf target/debug/*
55
clean:
6-
rm big-array-of-strings
6+
rm target -rf
7+
rm Cargo.lock

0 commit comments

Comments
 (0)