Christian Legnitto

Results 251 comments of Christian Legnitto

You might want to look into https://github.com/indygreg/PyOxidizer and https://gregoryszorc.com/blog/2022/05/10/announcing-the-pyoxy-python-runner/ and https://github.com/indygreg/python-build-standalone/

Ah, I see it is mentioned in the pants issue

I just released [`mdbook-typst`](https://github.com/LegNeato/mdbook-typst). While it isn't 100% done, it supports PDF output with links, bookmarks, and pdf metadata. Attached is the converted guide and a screenshot. If you want...

Here's the offending code: https://github.com/facebook/jest/blob/cd8976ec50dbed79cfe07f275052cdd80d466e73/packages/jest-haste-map/src/index.js#L98 But it looks like the behavior might be explicitly wanted as there is a test confirming it: https://github.com/facebook/jest/blob/8de90b320c87a0a36d68f6bd8177620a985df269/packages/jest-haste-map/src/__tests__/__snapshots__/index-test.js.snap#L15 Which was added in: https://github.com/facebook/jest/commit/cfade282fbbe2737b6dd2cee1cf3da3ee8624512 I wonder...

This means that `basename`s for modules need to be **globally** unique in a project when using manual mocks. For my use case, it means I can't do something like: ```...

Cool. I might find some time tomorrow to cook up a patch, but no promises though 😅

I'm not exactly sure, I'll see if I can get some time to prototype.

> Speaking from experience, compiling your rules into a binary that users must then download is a massive flaw at scale, IMO, one to be avoided. Agreed. I wasn't suggesting...

I like that use case! Could you approximate it today by wrapping buck2 as a lib and writing your own "frontend" that calls your logic in rust (conceptually replacing https://github.com/facebook/buck2/tree/main/app/buck2_bxl...

Not sure about the lint error, ` RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps` passes when run locally.