Skip to content

Commit

Permalink
fix(notifications): fix fixups for mongodb compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Jan 11, 2024
1 parent c767e26 commit c0e5fbf
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 56 deletions.
45 changes: 45 additions & 0 deletions third-party/rust/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3825,6 +3825,17 @@ cargo.rust_library(
crate = "mongodb",
crate_root = "mongodb-2.8.0.crate/src/lib.rs",
edition = "2021",
env = {
"CARGO_MANIFEST_DIR": "mongodb-2.8.0.crate",
"CARGO_PKG_AUTHORS": "Saghm Rossi <[email protected]>:Patrick Freed <[email protected]>:Isabel Atkinson <[email protected]>:Abraham Egnor <[email protected]>:Kaitlin Mahar <[email protected]>",
"CARGO_PKG_DESCRIPTION": "The official MongoDB driver for Rust",
"CARGO_PKG_NAME": "mongodb",
"CARGO_PKG_REPOSITORY": "https://github.com/mongodb/mongo-rust-driver",
"CARGO_PKG_VERSION": "2.8.0",
"CARGO_PKG_VERSION_MAJOR": "2",
"CARGO_PKG_VERSION_MINOR": "8",
"CARGO_PKG_VERSION_PATCH": "0",
},
features = [
"default",
"serde_bytes",
Expand Down Expand Up @@ -6274,13 +6285,36 @@ cargo.rust_library(
crate = "rustc_version_runtime",
crate_root = "rustc_version_runtime-0.2.1.crate/src/lib.rs",
edition = "2015",
env = {
"OUT_DIR": "$(location :rustc_version_runtime-0.2.1-build-script-run[out_dir])",
},
visibility = [],
deps = [
":rustc_version-0.2.3",
":semver-0.9.0",
],
)

cargo.rust_binary(
name = "rustc_version_runtime-0.2.1-build-script-build",
srcs = [":rustc_version_runtime-0.2.1.crate"],
crate = "build_script_build",
crate_root = "rustc_version_runtime-0.2.1.crate/build.rs",
edition = "2015",
visibility = [],
deps = [
":rustc_version-0.2.3",
":semver-0.9.0",
],
)

buildscript_run(
name = "rustc_version_runtime-0.2.1-build-script-run",
package_name = "rustc_version_runtime",
buildscript_rule = ":rustc_version_runtime-0.2.1-build-script-build",
version = "0.2.1",
)

http_archive(
name = "rustix-0.38.21.crate",
sha256 = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3",
Expand Down Expand Up @@ -9040,6 +9074,17 @@ cargo.rust_library(
crate = "trust_dns_resolver",
crate_root = "trust-dns-resolver-0.21.2.crate/src/lib.rs",
edition = "2018",
env = {
"CARGO_MANIFEST_DIR": "trust-dns-resolver-0.21.2.crate",
"CARGO_PKG_AUTHORS": "Benjamin Fry <[email protected]>",
"CARGO_PKG_DESCRIPTION": "Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is intended to be a high-level library for any DNS record resolution see Resolver and AsyncResolver for supported resolution types. The Client can be used for other queries.\n",
"CARGO_PKG_NAME": "trust-dns-resolver",
"CARGO_PKG_REPOSITORY": "https://github.com/bluejekyll/trust-dns",
"CARGO_PKG_VERSION": "0.21.2",
"CARGO_PKG_VERSION_MAJOR": "0",
"CARGO_PKG_VERSION_MINOR": "21",
"CARGO_PKG_VERSION_PATCH": "2",
},
features = [
"default",
"ipconfig",
Expand Down
20 changes: 1 addition & 19 deletions third-party/rust/fixups/ipconfig/fixups.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
omit_targets = []
extra_srcs = []
omit_srcs = []
rustc_flags = []
cfgs = []
features = []
omit_features = []
extra_deps = []
omit_deps = []
cargo_env = false

[env]

[[buildscript]]
unresolved = "Unresolved build script at ../../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/ipconfig-0.3.2/build.rs."

[extra_mapped_srcs]

[platform_fixup]
buildscript = []
1 change: 1 addition & 0 deletions third-party/rust/fixups/mongodb/fixups.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cargo_env = true
20 changes: 1 addition & 19 deletions third-party/rust/fixups/radium/fixups.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
omit_targets = []
extra_srcs = []
omit_srcs = []
rustc_flags = []
cfgs = []
features = []
omit_features = []
extra_deps = []
omit_deps = []
cargo_env = false

[env]

[[buildscript]]
unresolved = "Unresolved build script at ../../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/radium-0.7.0/build.rs."

[extra_mapped_srcs]

[platform_fixup]
buildscript = []
19 changes: 1 addition & 18 deletions third-party/rust/fixups/rustc_version_runtime/fixups.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,2 @@
omit_targets = []
extra_srcs = []
omit_srcs = []
rustc_flags = []
cfgs = []
features = []
omit_features = []
extra_deps = []
omit_deps = []
cargo_env = false

[env]

[[buildscript]]
unresolved = "Unresolved build script at ../../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc_version_runtime-0.2.1/build.rs."

[extra_mapped_srcs]

[platform_fixup]
[buildscript.gen_srcs]
1 change: 1 addition & 0 deletions third-party/rust/fixups/trust-dns-resolver/fixups.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cargo_env = true

0 comments on commit c0e5fbf

Please sign in to comment.