-
Notifications
You must be signed in to change notification settings - Fork 163
Hacking on windows guidance #170
Comments
Any help from people more familiar with rust on windows would be much appreciated! The best possible outcome would be to support running Tried to install The guide could become a file under |
If the crux of the issue is xplat compilation of Lines 21 to 22 in ad4601a
how about something like the ring crate instead? https://docs.rs/ring/0.16.13/ring/signature/struct.RsaKeyPair.html
|
For the purposes of actually using the key |
Personally, It would obviate the need for this as well. I forget recently but there was a Rust talk where a team talked about openssl alternatives for either games or embedded work. I'll try and dig it up. |
Well... for now It is as simple as rustup-init; git clone; cargo test So... what exactly should be in this guide? How to do same on msys? |
Ok. I found problems with OpenSSL when run complete workspace. Write some doc about installation https://github.com/Scondo/rust-ipfs/blob/master/doc/windows.md |
My initial idea for this was: just getting the workspace up and running. The On a vcpkg related note: #469 bumped the versions on CI as the previous revision I had pinned had started to segfault or whatever is the windows code for that. |
I've managed to install a compatible compilation environment for the root crate in Windows by:
git
,vim
, andgcc
withpacman -S
cargo test
worksAt least
clear_on_drop
dependency requires thegcc
, so installing just the toolchain with rustup is not enough. Following the https://github.com/rust-lang/rust#mingw way of installing gcc through mingw-w64-x86_64-gcc did not work for me.We should have a guide for "hacking on windows".
Originally posted by @koivunej in #169 (comment)
My above comment doesn't cover compiling the
ipfs-http
crate.The text was updated successfully, but these errors were encountered: