diff options
author | 2020-12-11 19:14:29 +0000 | |
---|---|---|
committer | 2020-12-11 19:14:29 +0000 | |
commit | 30530a9e34405e6bf7df4a40e9c3dfc97da9efd6 (patch) | |
tree | 10f40018d291ba1fea058e4e97754462e71920cb /rust/library.go | |
parent | d36c83862fe289f32faefa3af5c2177be540b328 (diff) | |
parent | 9d74a527062d6ffac1ce6fe5c8c2280d1d16332b (diff) |
Merge "Rust: WriteFileRule instead of printf for protos"
Diffstat (limited to 'rust/library.go')
-rw-r--r-- | rust/library.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/library.go b/rust/library.go index b7bf5e79c..4ac52b428 100644 --- a/rust/library.go +++ b/rust/library.go @@ -433,6 +433,7 @@ func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps Pa if library.sourceProvider != nil { // Assume the first source from the source provider is the library entry point. srcPath = library.sourceProvider.Srcs()[0] + deps.srcProviderFiles = append(deps.srcProviderFiles, library.sourceProvider.Srcs()...) } else { srcPath, _ = srcPathFromModuleSrcs(ctx, library.baseCompiler.Properties.Srcs) } |