-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: the command `cd fbcode/common/rust/cargo_from_buck/fbcode/security/flare/if/flare_if/types&&cargo build` results in ``` thread 'main' panicked at thrift_build.rs:71:20: Failed while running thrift compilation: No such file or directory (os error 2 ``` similarly the command `cd fbcode/common/rust/cargo_from_buck/fbcode/security/flare/if/flare_if/&&CARGO_TARGET_DIR=/tmp cargo build` this diff fixes both of these cases by avoiding writing files outside of the cargo provided `OUT_DIR`. Reviewed By: dtolnay Differential Revision: D53422085 fbshipit-source-id: 989850a5101c657cf20582d843b9ce5c9bda81b4
- Loading branch information
1 parent
b0651e7
commit 86a290c
Showing
1 changed file
with
31 additions
and
4 deletions.
There are no files selected for viewing
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