-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1794001 - Part 6: Patch rure to remove cdylib and staticlib targe…
…ts, r=#xpcom-reviewers CLOSED TREE Cargo will attempt to build all targets for dependencies, and there appears to be no option to turn that functionality off (see rust-lang/cargo#11232). If we try to build the `rure` crate as a cdylib during a PGO build, it causes linker issues, which make the build fail. As this artifact isn't necessary for our build, we can patch the crate to remove the cdylib and staticlib crate-type definitions, making the build pass as only the artifact we need is built. Differential Revision: https://phabricator.services.mozilla.com/D159332
- Loading branch information
Showing
4 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters