# Ensure sqlez build succeeds on Windows \(\#7072\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/631f8859007797138738aab13bea150b21573f75)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 631f8859007797138738aab13bea150b21573f75

Requested commit: 631f8859007797138738aab13bea150b21573f75

Commit: 631f8859007797138738aab13bea150b21573f75

Tree: 291e883f1654cbf08beb62b352ef0293ab051549

Author: 白山風露

Committer: GitHub

## Message

```
Ensure sqlez build succeeds on Windows (#7072)

On Windows, `OsStr` must be a valid
[WTF-8](https://simonsapin.github.io/wtf-8/) sequence, and there are no
safety ways converting from bytes to OsStr in std. So I added
`PathExt::try_from_bytes` and use it in `sqlez`.
```

## Parents

- [30b9cef5ba98d39a16952a8cf9b8cd33ccdd4f1c](https://git.cafe/gitcafe/zed/commit/30b9cef5ba98d39a16952a8cf9b8cd33ccdd4f1c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/631f8859007797138738aab13bea150b21573f75?format=markdown)
