summaryrefslogtreecommitdiff
path: root/rust/binary.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2021-01-08 16:51:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-01-08 16:51:30 +0000
commit65f7312db00d66e35eb48c9335ca81ffbf5aecc1 (patch)
tree5dad4d8f63e3ca3865bc6d02b7299722602e591a /rust/binary.go
parentc089a5f2496bd781ae8f1cb20f141c44424b25da (diff)
parent3968d8f6780b33ab26c7f9ec06e2fdb6c0f7d26f (diff)
Merge "Refactor CC to prep for Rust sanitizable modules."
Diffstat (limited to 'rust/binary.go')
-rw-r--r--rust/binary.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/binary.go b/rust/binary.go
index c2d97f3ab..ca07d07c1 100644
--- a/rust/binary.go
+++ b/rust/binary.go
@@ -164,3 +164,7 @@ func (binary *binaryDecorator) stdLinkage(ctx *depsContext) RustLinkage {
}
return binary.baseCompiler.stdLinkage(ctx)
}
+
+func (binary *binaryDecorator) isDependencyRoot() bool {
+ return true
+}