Skip to content

Commit

Permalink
feat: fix uv-trampoline renovate issues (#5204)
Browse files Browse the repository at this point in the history
## Summary

1. Fixes errors from #4878
2. More cleanup. Removed the need for `MaybeUninit` and `SizeOf`
helpers. Renamed main entrypoint to expected default in windows
`mainCRTStartup` to avoid re-declaring /ENTRY in build.rs.
3. Adds a small basic test harness that >>on windows<< will generate
both types of launchers and run them. I've had been using this locally
to test changes and edge cases, but it might be useful for others. It's
based on core parts of install-wheel-rs.

## Test Plan

Tested locally on a couple of script/gui apps.

---------

Co-authored-by: konsti <[email protected]>
  • Loading branch information
samypr100 and konstin authored Jul 23, 2024
1 parent e61fcbd commit 166fe85
Show file tree
Hide file tree
Showing 10 changed files with 1,148 additions and 92 deletions.
1 change: 1 addition & 0 deletions crates/uv-trampoline/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[unstable]
build-std = ["std", "panic_abort"]
build-std-features = ["compiler-builtins-mem", "panic_immediate_abort"]
panic-abort-tests = true
Loading

0 comments on commit 166fe85

Please sign in to comment.