Skip to content

Commit 7bbca7a

Browse files
committed
Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links
2 parents ca46465 + e65d48d commit 7bbca7a

File tree

1,218 files changed

+9796
-7604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,218 files changed

+9796
-7604
lines changed

.cargo/config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ xtask = "run --package xtask --bin xtask --"
33
install-ra = "run --package xtask --bin xtask -- install" # for backwards compat
44
tq = "test -- -q"
55
qt = "tq"
6+
7+
[target.x86_64-pc-windows-msvc]
8+
linker = "rust-lld"

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* text=auto eol=lf
2-
crates/ra_syntax/test_data/** -text eof=LF
2+
crates/syntax/test_data/** -text eof=LF
33
# Older git versions try to fix line endings on images, this prevents it.
44
*.png binary
55
*.jpg binary

.github/FUNDING.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# These are supported funding model platforms
2-
3-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4-
patreon: # Replace with a single Patreon username
1+
github: rust-analyzer
52
open_collective: rust-analyzer
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
12-
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/ci.yaml

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,6 @@ env:
1616
RUSTUP_MAX_RETRIES: 10
1717

1818
jobs:
19-
# rust-audit:
20-
# name: Audit Rust vulnerabilities
21-
# runs-on: ubuntu-latest
22-
# steps:
23-
# - name: Checkout repository
24-
# uses: actions/checkout@v2
25-
26-
# - uses: actions-rs/install@v0.1
27-
# with:
28-
# crate: cargo-audit
29-
# use-tool-cache: true
30-
31-
# - run: cargo audit
32-
3319
rust:
3420
name: Rust
3521
runs-on: ${{ matrix.os }}
@@ -84,15 +70,14 @@ jobs:
8470
- name: Prepare cache
8571
run: cargo xtask pre-cache
8672

87-
- name: Prepare cache 2
88-
if: matrix.os == 'windows-latest'
89-
run: Remove-Item ./target/debug/xtask.exe, ./target/debug/deps/xtask.exe
90-
91-
# Weird target to catch non-portable code
92-
rust-power:
93-
name: Rust Power
73+
# Weird targets to catch non-portable code
74+
rust-cross:
75+
name: Rust Cross
9476
runs-on: ubuntu-latest
9577

78+
env:
79+
targets: "powerpc-unknown-linux-gnu x86_64-unknown-linux-musl"
80+
9681
steps:
9782
- name: Checkout repository
9883
uses: actions/checkout@v2
@@ -103,7 +88,9 @@ jobs:
10388
toolchain: stable
10489
profile: minimal
10590
override: true
106-
target: 'powerpc-unknown-linux-gnu'
91+
92+
- name: Install Rust targets
93+
run: rustup target add ${{ env.targets }}
10794

10895
- name: Cache cargo directories
10996
uses: actions/cache@v2
@@ -114,14 +101,17 @@ jobs:
114101
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
115102

116103
- name: Check
117-
run: cargo check --target=powerpc-unknown-linux-gnu --all-targets
104+
run: |
105+
for target in ${{ env.targets }}; do
106+
cargo check --target=$target --all-targets
107+
done
118108
119109
typescript:
120110
name: TypeScript
121111
strategy:
122112
fail-fast: false
123113
matrix:
124-
os: [ubuntu-latest, windows-latest, macos-latest]
114+
os: [ubuntu-latest, windows-latest]
125115

126116
runs-on: ${{ matrix.os }}
127117

0 commit comments

Comments
 (0)