-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: mark non-bench targets as not containing benchmarks
Cargo will otherwise look in cfg(test) modules for benchmarks, and compile them for libtest, no criterion. This causes errors should we ever want to pass command-line options to criterion (as libtest obviously does not understand them). It also increases compile time (and thus test runtime), since we needlessly compile all unittests. Signed-off-by: Patrick Roy <[email protected]>
- Loading branch information
Showing
15 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
libc = "0.2.117" | ||
serde = { version = "1.0.136", features = ["derive"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
bitflags = "1.3.2" | ||
derive_more = { version = "0.99.17", default-features = false, features = ["from"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
lazy_static = "1.4.0" | ||
libc = "0.2.117" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
aes-gcm = { version = "0.10.1", default-features = false, features = ["aes"] } | ||
base64 = "0.13.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
timerfd = "1.2.0" | ||
versionize = "0.1.10" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
derive_more = { version = "0.99.17", default-features = false, features = ["from"] } | ||
libc = "0.2.117" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,7 @@ authors = ["The Chromium OS Authors"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[lib] | ||
bench = false | ||
|
||
[dependencies] | ||
aws-lc-rs = "1.0.2" | ||
bitflags = "2.0.2" | ||
|