Gregory Szorc

Results 277 comments of Gregory Szorc

What do you think about https://github.com/indygreg/toolchain-tools/tree/main/apple-sdk? This is effectively what exists in `tugger-apple` before - just in its own crate with slightly better error handling and optional dependencies to jettison...

... and I guess I need to port some of PyOxidizer's code for finding an appropriate SDK to use. That should be easy enough. But it may not happen for...

I significantly refactored https://github.com/indygreg/toolchain-tools/tree/main/apple-sdk today. I think it is close to being generally usable. The `SdkSearch` type should be usable as a generic - yet powerful - mechanism for finding...

And version 0.1 is published! https://crates.io/crates/apple-sdk

I'm fine with any outcome here. Shoring up the logic for `apple-sdk` is something I've been wanting to do for a while anyway. So if cc-rs doesn't use `apple-sdk`, I...

Tangentially related to this, I've implemented Apple SDK discovery in pure Rust in https://github.com/indygreg/PyOxidizer/blob/ae848c9083c9c8563d5890f5d39a8e04a1d71832/tugger-apple/src/sdk.rs. This includes parsing the `SDKSettings.json` files to extract SDK metadata such as versions and which targets...

`pyoxidizer [build|run]` can both invoke `cargo` under the hood. In addition, they also can call into the `cc` and `git2` crates. Note that the `cargo` invocations are via new processes,...

PR #144 should fix this.

You might be interested in https://pyoxidizer.readthedocs.io/en/stable/ for embedding a Python interpreter in Rust binaries. It aims to solve a lot of these hard packaging problems. You can also look at...

I decided to shave a yak today and I implemented a minimal crate for parsing `.tbd` using `serde-yaml`. Unfortunately, I learned when doing this that `yaml-rust` doesn't expose tags on...