Skip to content

Commit 3410102

Browse files
committed
Merge remote-tracking branch 'origin/master' into completion2
2 parents eaecaaf + b0102bd commit 3410102

File tree

180 files changed

+9704
-3839
lines changed

Some content is hidden

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

180 files changed

+9704
-3839
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,24 @@ jobs:
246246
- run: npm ci
247247
working-directory: ./editors/code
248248

249-
- name: Publish Extension (release)
249+
- name: Publish Extension (Code Marketplace, release)
250250
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
251251
working-directory: ./editors/code
252252
# token from https://dev.azure.com/rust-analyzer/
253253
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
254254

255-
- name: Publish Extension (nightly)
255+
- name: Publish Extension (OpenVSX, release)
256+
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
257+
working-directory: ./editors/code
258+
# token from https://dev.azure.com/rust-analyzer/
259+
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
260+
261+
- name: Publish Extension (Code Marketplace, nightly)
256262
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
257263
working-directory: ./editors/code
258264
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
265+
266+
- name: Publish Extension (OpenVSX, nightly)
267+
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
268+
working-directory: ./editors/code
269+
run: npx ovsx publish --pat ${{ secrets.OPENVSX_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release

Cargo.lock

Lines changed: 53 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/base-db/src/fixture.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl ChangeFixture {
159159
meta.cfg.clone(),
160160
meta.cfg,
161161
meta.env,
162-
Default::default(),
162+
Ok(Vec::new()),
163163
false,
164164
origin,
165165
);
@@ -194,7 +194,7 @@ impl ChangeFixture {
194194
default_cfg.clone(),
195195
default_cfg,
196196
Env::default(),
197-
Default::default(),
197+
Ok(Vec::new()),
198198
false,
199199
CrateOrigin::CratesIo { repo: None },
200200
);
@@ -231,7 +231,7 @@ impl ChangeFixture {
231231
CfgOptions::default(),
232232
CfgOptions::default(),
233233
Env::default(),
234-
Vec::new(),
234+
Ok(Vec::new()),
235235
false,
236236
CrateOrigin::Lang(LangCrateOrigin::Core),
237237
);
@@ -268,7 +268,7 @@ impl ChangeFixture {
268268
CfgOptions::default(),
269269
CfgOptions::default(),
270270
Env::default(),
271-
proc_macro,
271+
Ok(proc_macro),
272272
true,
273273
CrateOrigin::CratesIo { repo: None },
274274
);

0 commit comments

Comments
 (0)