Skip to content

Commit

Permalink
ci: fix rust-analyzer's ability to look at code
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Jul 27, 2024
1 parent 37e67c8 commit da68088
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[build]
target = [
"oro-arch-x86_64/x86_64-unknown-oro.json",
"oro-arch-aarch64/aarch64-unknown-oro.json"
]

[alias]
aarch64 = "build --target oro-arch-aarch64/aarch64-unknown-oro.json -Zunstable-options -Zbuild-std=core,compiler_builtins,alloc -Zbuild-std-features=compiler-builtins-mem"
x86_64 = "build --target oro-arch-x86_64/x86_64-unknown-oro.json -Zunstable-options -Zbuild-std=core,compiler_builtins,alloc -Zbuild-std-features=compiler-builtins-mem"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust
- name: Test
run: cargo oro-test
run: |
cargo oro-test --target $(rustc -vV | sed -n 's|host: ||p')

0 comments on commit da68088

Please sign in to comment.