Commits
Co-authored-by: Louis Pilfold <louis@lpil.uk>
When a longer guarded string prefix falls through to a shorter one,
the backend re-checked the longer prefix with startsWith before
slicing.
Pattern matching on overlapping string prefixes with guards could
generate incorrect JavaScript. Distinguish hoistable guards from
pattern-bound guards so fall-through to shorter prefixes works.
A path dependency of a git package that resolves to the repository
root produced an empty repo-relative path, stored as path: Some("").
This conflicted with the same package declared directly as a git
dependency with no path (path: None).
A branch-following git dep can resolve to a new commit without a
version bump, which the version-only freshness check misses. Forget
the changed packages before downloading so they're refetched.
Clone the repo once, check the commit out in a temp worktree, and
hard-link the dependency's subdirectory into build/packages.
Allow specifying a subdirectory within a git repository using an
optional `path` field.
reqwest's default rustls-platform-verifier panics on Android because
it needs the JVM to reach the system trust manager. On Android, load
the system trust store from the filesystem via rustls-native-certs and
configure those roots explicitly.
Co-authored-by: Giacomo Cavalieri <giacomo.cavalieri@icloud.com>
Closes https://github.com/gleam-lang/gleam/issues/5818