Skip to content

cxx/python/rust: propagate UnixEnvInfo - #1459

Open
lf- wants to merge 1 commit into
facebook:mainfrom
MercuryTechnologies:jade/push-lroukqtzlksr
Open

cxx/python/rust: propagate UnixEnvInfo#1459
lf- wants to merge 1 commit into
facebook:mainfrom
MercuryTechnologies:jade/push-lroukqtzlksr

Conversation

@lf-

@lf- lf- commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Motivation: I want to pass shared library dependencies through my binary targets, so that snowydeer_package (our nix package builder; see my LixCon 2026 talk and https://github.com/mercurytechnologies/snowydeer) can automatically include them in the lib/ directory in the output.

Implementation/test plan: honestly this is a massive YOLO. This is clauded and I am absolutely not sure why this propagation was originally disabled, nor do I have enough tests out of tree to meaningfully exercise it.

A note: "we only want to traverse deps while dynamically linking" is potentially wrong when you have a setup that prefers the static link style but still allows dynamic linking (which is what we're in; we try to statically link first-party but Rust (rust-lang/rust#73632) and other things force dynamic linking).

This is more of a question for why it was off in the first place with a "yolo" button than a normal PR :)

Motivation: I want to pass shared library dependencies through my binary
targets, so that `snowydeer_package` (our nix package builder; see my
LixCon 2026 talk and https://github.com/mercurytechnologies/snowydeer)
can automatically include them in the `lib/` directory in the output.

Implementation/test plan: honestly this is a *massive* YOLO. This is
clauded and I am *absolutely* not sure why this propagation was
originally disabled, nor do I have enough tests out of tree to
meaningfully exercise it.

This is more of a question for why it was off in the first place with a
"yolo" button than a normal PR :)
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 13, 2026
@meta-codesync

meta-codesync Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D115807594. (Because this pull request was imported automatically, there will not be any future comments.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant