Skip to content

Commit

Permalink
bug 1507047 - fix packaging of generated Rust sources. r=froydnj
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D11874

--HG--
extra : moz-landing-system : lando
  • Loading branch information
luser committed Nov 14, 2018
1 parent 52b7d57 commit 5cc31b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/mozbuild/mozbuild/generated_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def get_generated_sources():
# Next, return any Rust source files that were generated into the Rust
# object directory.
rust_build_kind = 'debug' if buildconfig.substs.get('MOZ_DEBUG_RUST') else 'release'
base = mozpath.join('toolkit/library',
buildconfig.substs['RUST_TARGET'],
base = mozpath.join(buildconfig.substs['RUST_TARGET'],
rust_build_kind,
'build')
finder = FileFinder(mozpath.join(buildconfig.topobjdir, base))
Expand Down

0 comments on commit 5cc31b0

Please sign in to comment.