git.delta.rocks / unique-network / refs/commits / 83d67e5fa458

difftreelog

fix Rust Analyzer for common mod (#966)

Daniel Shiposha2023-07-10parent: #d8a735e.patch.diff
in: master
* fix: add common link

* fix: add windows note

* fix: rename common-link to runtime_common

7 files changed

modifiedREADME.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
modifiedruntime/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;
addedruntime/opal/src/runtime_commondiffbeforeafterboth
--- /dev/null
+++ b/runtime/opal/src/runtime_common
@@ -0,0 +1 @@
+../../common/
\ No newline at end of file
modifiedruntime/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;
addedruntime/quartz/src/runtime_commondiffbeforeafterboth
modifiedruntime/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;
addedruntime/unique/src/runtime_commondiffbeforeafterboth
--- /dev/null
+++ b/runtime/unique/src/runtime_common
@@ -0,0 +1 @@
+../../common/
\ No newline at end of file