Skip to content

Commit 8f21381

Browse files
committed
Use josh for subtree syncs
1 parent 55d9a53 commit 8f21381

File tree

1,987 files changed

+494678
-0
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,987 files changed

+494678
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[alias]
2+
xtask = "run --package xtask --bin xtask --"
3+
tq = "test -- -q"
4+
qt = "tq"
5+
lint = "clippy --all-targets -- --cap-lints warn"
6+
codegen = "run --package xtask --bin xtask -- codegen"
7+
8+
[target.x86_64-pc-windows-msvc]
9+
linker = "rust-lld"
10+
11+
[env]
12+
CARGO_WORKSPACE_DIR = { value = "", relative = true }

src/tools/rust-analyzer/.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# https://EditorConfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 4
11+
max_line_length = 100
12+
13+
[*.md]
14+
indent_size = 2
15+
16+
[*.{yml, yaml}]
17+
indent_size = 2
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# for this file to take effect make sure you use git ^2.23 and
2+
# add ignoreFile to your git configuration:
3+
# ```
4+
# git config --global blame.ignoreRevsFile .git-blame-ignore-revs
5+
# ```
6+
7+
# prettier format
8+
f247090558c9ba3c551566eae5882b7ca865225f
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
* text=auto eol=lf
2+
3+
# git grep shouldn't match entries in this benchmark data
4+
bench_data/** binary
5+
6+
# Older git versions try to fix line endings on images, this prevents it.
7+
*.png binary
8+
*.jpg binary
9+
*.ico binary
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report for rust-analyzer.
4+
title: ''
5+
labels: 'C-bug'
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
Troubleshooting guide: https://rust-analyzer.github.io/manual.html#troubleshooting
12+
Forum for questions: https://users.rust-lang.org/c/ide/14
13+
14+
Before submitting, please make sure that you're not running into one of these known issues:
15+
16+
1. on-the-fly diagnostics are mostly unimplemented (`cargo check` diagnostics will be shown when saving a file): #3107
17+
18+
Otherwise please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3.
19+
-->
20+
21+
**rust-analyzer version**: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via <kbd>Ctrl/⌘</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>)
22+
23+
**rustc version**: (eg. output of `rustc -V`)
24+
25+
**editor or extension**: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)
26+
27+
**relevant settings**: (eg. client settings, or environment variables like `CARGO`, `RUSTC`, `RUSTUP_HOME` or `CARGO_HOME`)
28+
29+
**repository link (if public, optional)**: (eg. [rust-analyzer](https://github.com/rust-lang/rust-analyzer))
30+
31+
**code snippet to reproduce**:
32+
```rust
33+
// add your code here
34+
35+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Critical Nightly Regression
3+
about: You are using nightly rust-analyzer and the latest version is unusable.
4+
title: ''
5+
labels: 'Broken Window'
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
Troubleshooting guide: https://rust-analyzer.github.io/manual.html#troubleshooting
12+
13+
Please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3.
14+
-->
15+
16+
This is a serious regression in nightly and it's important to fix it before the next release.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Feature Request
3+
about: Create a feature request for rust-analyzer.
4+
title: ''
5+
labels: 'C-feature'
6+
assignees: ''
7+
8+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Support Question
3+
about: A question regarding functionality of rust-analyzer.
4+
title: ''
5+
labels: 'C-support'
6+
assignees: ''
7+
8+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM node:slim
2+
3+
COPY . /action
4+
WORKDIR /action
5+
6+
RUN npm install --production
7+
8+
ENTRYPOINT ["node", "/action/main.js"]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# github-release
2+
3+
Copy-pasted from
4+
https://github.com/bytecodealliance/wasmtime/tree/8acfdbdd8aa550d1b84e0ce1e6222a6605d14e38/.github/actions/github-release
5+
6+
An action used to publish GitHub releases for `wasmtime`.
7+
8+
As of the time of this writing there's a few actions floating around which
9+
perform github releases but they all tend to have their set of drawbacks.
10+
Additionally nothing handles deleting releases which we need for our rolling
11+
`dev` release.
12+
13+
To handle all this, this action rolls its own implementation using the
14+
actions/toolkit repository and packages published there. These run in a Docker
15+
container and take various inputs to orchestrate the release from the build.
16+
17+
More comments can be found in `main.js`.
18+
19+
Testing this is really hard. If you want to try though run `npm install` and
20+
then `node main.js`. You'll have to configure a bunch of env vars though to get
21+
anything reasonably working.

0 commit comments

Comments
 (0)