Commit bee9014
Use Path.join() to create paths instead of Url.path() (#781)
We can't assume that the path section of a file:// URL is a valid
operating system path, so instead we join the root and the source using
Rust's std::path API. This still handles absolute paths the same.
This commit resolves issues where we couldn't use ethcontract-derive
on Windows (e.g. #729)
Co-authored-by: videogame hacker <[email protected]>1 parent e17ed0d commit bee9014
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments