Skip to content

Commit

Permalink
fix: Rust Analyzer for common mod (#966)
Browse files Browse the repository at this point in the history
* fix: add common link

* fix: add windows note

* fix: rename common-link to runtime_common
  • Loading branch information
Daniel Shiposha authored Jul 10, 2023
1 parent d8a735e commit 83d67e5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ If you are building an application that operates NFT tokens, use [this document]
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
Expand Down
1 change: 0 additions & 1 deletion runtime/opal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use up_common::types::*;

use ::xcm::latest::NetworkId;

#[path = "../../common/mod.rs"]
mod runtime_common;

pub mod xcm_barrier;
Expand Down
1 change: 1 addition & 0 deletions runtime/opal/src/runtime_common
1 change: 0 additions & 1 deletion runtime/quartz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use up_common::types::*;

use ::xcm::latest::NetworkId;

#[path = "../../common/mod.rs"]
mod runtime_common;

pub mod xcm_barrier;
Expand Down
1 change: 1 addition & 0 deletions runtime/quartz/src/runtime_common
1 change: 0 additions & 1 deletion runtime/unique/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use up_common::types::*;

use ::xcm::latest::NetworkId;

#[path = "../../common/mod.rs"]
mod runtime_common;

pub mod xcm_barrier;
Expand Down
1 change: 1 addition & 0 deletions runtime/unique/src/runtime_common

0 comments on commit 83d67e5

Please sign in to comment.