summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-10-20 19:56:16 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-10-20 19:56:16 -0700
commit86409eb8369107a4c4944d3db0090ffc79395823 (patch)
tree20fd27ed9f29769cd09e7daea7343f5c3b162f2c /BUILD.gn
parentc85311dd7dbad09242633d2ee7a83fdb1cbd1d7f (diff)
Add Rust hyper http benchmark (#1043)
* Add go net/http benchmark * Forget about Go. Let's do Rust Hyper * Update BUILD.gn * Rename
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn9
1 files changed, 9 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index ef20cd1d2..cac34120f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -13,6 +13,7 @@ group("default") {
deps = [
":deno",
":deno_ns",
+ ":hyper_hello",
":test_cc",
":test_rs",
]
@@ -137,6 +138,14 @@ rust_executable("deno_ns") {
]
}
+rust_executable("hyper_hello") {
+ source_root = "tools/hyper_hello.rs"
+ extern = [
+ "$rust_build:hyper",
+ "$rust_build:ring"
+ ]
+}
+
rust_test("test_rs") {
source_root = "src/main.rs"
extern = main_extern