Skip to content

Conversation

@ChrisDenton
Copy link
Member

Rather than canonicalising the build directory this simply makes it absolute. Unfortunately the current MSRV doesn't allow us to use std::path::absolute so for Windows I've added a direct call to the Windows API.

Since the motivation for #200 is Windows, on non-Windows platforms this is now a no-op.

Fixes cloudflare/boring#414

cc @ghedo

@ChrisDenton ChrisDenton merged commit 899f26d into rust-lang:master Dec 17, 2025
28 checks passed
@ChrisDenton ChrisDenton deleted the absolute branch December 17, 2025 19:29
@github-actions github-actions bot mentioned this pull request Dec 17, 2025
ChrisDenton added a commit that referenced this pull request Dec 17, 2025
## 🤖 New release

* `cmake`: 0.1.56 -> 0.1.57 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.1.57](v0.1.56...v0.1.57)
- 2025-12-17

### Fixed

- Revert canonicalizing the build directory and make the path absolute
instead ([#267](#267))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Denton <chris@chrisdenton.dev>
ghedo added a commit to cloudflare/quiche that referenced this pull request Dec 19, 2025
The issue we had on Windows seems to have been fixed in version 0.1.57
rust-lang/cmake-rs#267

This reverts commit 225b656.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Action: could not find native static library ssl on windows (mingw/msvc)

1 participant