paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK

Home Page:https://polkadot.network/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building on Windows is broken due to symbolic link

conr2d opened this issue · comments

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

#3087 added the symbolic link pointing to docs tosubstrate/primitives/runtime, but on Windows (tested on Windows 10), symbolic link cannot be recognized, so the following line causes file not found error during compiling Substrate.

#[cfg_attr(feature = "std", doc = simple_mermaid::mermaid!("../../docs/mermaid/extrinsics.mmd"))]

Steps to reproduce

Compile sp-runtime on Windows.

We don't really support Windows. However, if you have a fix, we are happy to accept your pr that fixes the issue.