Skip to content

Commit

Permalink
Avoid reaching into root crate for ocaml rust flags
Browse files Browse the repository at this point in the history
Summary:
This will no longer be possible with external cells. This diff
introduces slight duplication, but landing it first will unbreak ocamlrep
builds immediately and avoid a shipit desync.

Reviewed By: bigfootjon

Differential Revision: D64847706

fbshipit-source-id: 08bd28b3080250ce07f13984a9fa796d148a7532
  • Loading branch information
ckwalsh authored and facebook-github-bot committed Oct 23, 2024
1 parent fea9948 commit 971b2cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions common/ocaml/interop/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
# of this source tree.

load("@root//defs.bzl", _RUST_FLAGS_2018 = "RUST_FLAGS_2018")

RUST_FLAGS_2018 = _RUST_FLAGS_2018
# Try to keep in sync with all the client projects, like hack
RUST_FLAGS_2018 = [
"-Drust-2018-idioms",
"-Dwarnings",
"-Dunused-crate-dependencies",
]

0 comments on commit 971b2cb

Please sign in to comment.