nervosnetwork / sparse-merkle-tree

46 stars 37 forks source link

MSVC support #43

Open code-monad opened 1 year ago

code-monad commented 1 year ago

This PR brings MSVC support into repo, also adds windows-ci into Github Actions transfered gcc flags into equivalent msvc's cl flags, Close https://github.com/nervosnetwork/sparse-merkle-tree/issues/35.

Adding cfg controled statements in all build.rs Adding msvc outputs into .gitignore Note: Warning C5045, C4820, C4711, C4244, C4242, C4146 can safely disabled, no side-effects. But /Wall will make it fail