summaryrefslogtreecommitdiff
path: root/build_extra/rust/BUILD.gn
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-07-17 22:36:11 +0200
committerBert Belder <bertbelder@gmail.com>2018-07-19 21:55:39 +0200
commit422150c797c57dab130d2efc3105002c44b02480 (patch)
tree49be4b76ec0eb6ae533b11c9945fcd61a7366ba8 /build_extra/rust/BUILD.gn
parentae393879a7a03643075d559bd2773997c84c7ed0 (diff)
Link rust_test targets with external linker, fix handlers_test linkage
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r--build_extra/rust/BUILD.gn8
1 files changed, 0 insertions, 8 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn
index bf90b85f1..f5c85319a 100644
--- a/build_extra/rust/BUILD.gn
+++ b/build_extra/rust/BUILD.gn
@@ -6,14 +6,6 @@ import("rust.gni")
# Versioning for third party rust crates is controlled in //gclient_config.py
# TODO(ry) Use Cargo for versioning?
-# By compiling an empty file as crate-type=staticlib we get all the code
-# for the rust stdlib, which are not included in the object file outputs
-# of other libs.
-# TODO(ry) This is not used and maybe should be removed along with empty.rs.
-rust_staticlib("stdlib") {
- source_root = "empty.rs"
-}
-
crates = "//third_party/rust_crates"
rust_component("libc") {