-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
691f067
commit 711d610
Showing
9 changed files
with
49 additions
and
1 deletion.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Configuration for Reindeer to generate Buck targets from Cargo.toml | ||
# | ||
# Overview of available options: | ||
# https://github.com/facebookincubator/reindeer/blob/main/example/third-party/reindeer.toml | ||
|
||
# Parse Rust code to work out the precise set of source files for each crate. | ||
precise_srcs = true | ||
|
||
# Include a public top-level target which depends on all other targets. | ||
include_top_level = true | ||
|
||
[cargo] | ||
# Support Cargo's unstable "artifact dependencies" functionality, RFC 3028. | ||
bindeps = true | ||
|
||
[buck] | ||
# Name of the generated file. | ||
file_name = "BUCK" | ||
|
||
# Rules used for various kinds of targets. | ||
rust_library = "cargo.rust_library" | ||
rust_binary = "cargo.rust_binary" | ||
prebuilt_cxx_library = "third_party_rust_prebuilt_cxx_library" | ||
|
||
buckfile_imports = """ | ||
load("@prelude//rust:cargo_buildscript.bzl", "buildscript_run") | ||
load("@prelude//rust:cargo_package.bzl", "cargo") | ||
load("//third-party/macros:rust_third_party.bzl", "third_party_rust_prebuilt_cxx_library") | ||
""" |
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