difftreelog
fix Rust Analyzer for common mod (#966)
in: master
* fix: add common link * fix: add windows note * fix: rename common-link to runtime_common
7 files changed
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -37,6 +37,12 @@
Building Unique chain requires special versions of Rust and toolchain. We don't use the most recent versions of everything
so that we can keep the builds stable.
+*Windows note: We do not provide support for Windows systems and don't test the Unique chain on them.
+Nonetheless, the Unique chain node might work on Windows. To build it on Windows, you need to enable symlink support in Git:*
+```
+git config --global core.symlinks true
+```
+
1. Install Rust:
```bash
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -36,7 +36,6 @@
use ::xcm::latest::NetworkId;
-#[path = "../../common/mod.rs"]
mod runtime_common;
pub mod xcm_barrier;
runtime/opal/src/runtime_commondiffbeforeafterbothno content
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -36,7 +36,6 @@
use ::xcm::latest::NetworkId;
-#[path = "../../common/mod.rs"]
mod runtime_common;
pub mod xcm_barrier;
runtime/quartz/src/runtime_commondiffbeforeafterboth--- /dev/null
+++ b/runtime/quartz/src/runtime_common
@@ -0,0 +1 @@
+../../common/
\ No newline at end of file
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -36,7 +36,6 @@
use ::xcm::latest::NetworkId;
-#[path = "../../common/mod.rs"]
mod runtime_common;
pub mod xcm_barrier;
runtime/unique/src/runtime_commondiffbeforeafterboth--- /dev/null
+++ b/runtime/unique/src/runtime_common
@@ -0,0 +1 @@
+../../common/
\ No newline at end of file