Skip to content

Commit ec08e43

Browse files
committed
Truncated history.
Kani (originally 'RMC') used to be a fork of Rust. This later changed, and this history truncation is the result of filtering out Rust's history and some of its files from the Kani repo, to reduce repo size. Some more information about this truncation can be found here: model-checking/kani#991 Kani originally pursued a rebase strategy for syncing with rustc and then switched to merging, before finally using rustc as a library. When this git history was truncated, this commit had rustc parent: https://github.com/rust-lang/rust/tree/f8810ee171d1549cfb4082d4e1289704aad722e9 This commit reflects the last time the rebase strategy was applied.
0 parents  commit ec08e43

File tree

10,079 files changed

+1317414
-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.

10,079 files changed

+1317414
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.md]
16+
# double whitespace at end of line
17+
# denotes a line break in Markdown
18+
trim_trailing_whitespace = false
19+
20+
[*.yml]
21+
indent_size = 2

.gitattributes

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
2+
3+
* text=auto eol=lf
4+
*.cpp rust
5+
*.h rust
6+
*.rs rust diff=rust
7+
*.fixed linguist-language=Rust
8+
*.mir linguist-language=Rust
9+
src/etc/installer/gfx/* binary
10+
src/vendor/** -text
11+
Cargo.lock linguist-generated=false
12+
config.toml.example linguist-language=TOML
13+
14+
# Older git versions try to fix line endings on images and fonts, this prevents it.
15+
*.png binary
16+
*.ico binary
17+
*.woff binary
18+
*.woff2 binary

.github/ISSUE_TEMPLATE/blank_issue.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
name: Blank Issue
3+
about: Create a blank issue.
4+
---

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug Report
3+
about: Create a bug report for Rust.
4+
labels: C-bug
5+
---
6+
<!--
7+
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
8+
along with any information you feel relevant to replicating the bug.
9+
-->
10+
11+
I tried this code:
12+
13+
```rust
14+
<code>
15+
```
16+
17+
I expected to see this happen: *explanation*
18+
19+
Instead, this happened: *explanation*
20+
21+
### Meta
22+
<!--
23+
If you're using the stable version of the compiler, you should also check if the
24+
bug also exists in the beta or nightly versions.
25+
-->
26+
27+
`rustc --version --verbose`:
28+
```
29+
<version>
30+
```
31+
32+
<!--
33+
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
34+
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
35+
-->
36+
<details><summary>Backtrace</summary>
37+
<p>
38+
39+
```
40+
<backtrace>
41+
```
42+
43+
</p>
44+
</details>

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Question
4+
url: https://users.rust-lang.org
5+
about: Please ask and answer questions about Rust on the user forum.
6+
- name: Feature Request
7+
url: https://internals.rust-lang.org/
8+
about: Please discuss language feature requests on the internals forum.

.github/ISSUE_TEMPLATE/diagnostics.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Diagnostic issue
3+
about: Create a bug report or feature request for a change to `rustc`'s error output
4+
labels: A-diagnostics, T-compiler
5+
---
6+
<!--
7+
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
8+
along with any information you feel relevant to replicating the bug.
9+
10+
If you cannot produce a minimal reproduction case (something that would work in
11+
isolation), please provide the steps or even link to a repository that causes
12+
the problematic output to occur.
13+
-->
14+
15+
Given the following code: <!-- Please provide a link to play.rust-lang.org -->
16+
17+
```rust
18+
<code>
19+
```
20+
21+
The current output is:
22+
23+
```
24+
<rustc output>
25+
```
26+
27+
<!-- The following is not always necessary. -->
28+
Ideally the output should look like:
29+
30+
```
31+
<proposed output>
32+
```
33+
34+
<!--
35+
If the problem is not self-explanatory, please provide a rationale for the
36+
change.
37+
-->
38+
39+
<!--
40+
If dramatically different output is caused by small changes, consider also
41+
adding them here.
42+
43+
If you're using the stable version of the compiler, you should also check if the
44+
bug also exists in the beta or nightly versions. The output might also be
45+
different depending on the Edition.
46+
-->

.github/ISSUE_TEMPLATE/ice.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Internal Compiler Error
3+
about: Create a report for an internal compiler error in rustc.
4+
labels: C-bug, I-ICE, T-compiler
5+
---
6+
<!--
7+
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
8+
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
9+
how to create smaller examples.
10+
11+
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
12+
13+
-->
14+
15+
### Code
16+
17+
```Rust
18+
<code>
19+
```
20+
21+
22+
### Meta
23+
<!--
24+
If you're using the stable version of the compiler, you should also check if the
25+
bug also exists in the beta or nightly versions.
26+
-->
27+
28+
`rustc --version --verbose`:
29+
```
30+
<version>
31+
```
32+
33+
### Error output
34+
35+
```
36+
<output>
37+
```
38+
39+
<!--
40+
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
41+
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
42+
-->
43+
<details><summary><strong>Backtrace</strong></summary>
44+
<p>
45+
46+
```
47+
<backtrace>
48+
```
49+
50+
</p>
51+
</details>
52+
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
name: Library Tracking Issue
3+
about: A tracking issue for an unstable library feature.
4+
title: Tracking Issue for XXX
5+
labels: C-tracking-issue, T-libs-api
6+
---
7+
<!--
8+
Thank you for creating a tracking issue!
9+
10+
Tracking issues are for tracking a feature from implementation to stabilization.
11+
12+
Make sure to include the relevant RFC for the feature if it has one.
13+
14+
If the new feature is small, it may be fine to skip the RFC process. In that
15+
case, you can use use `issue = "none"` in your initial implementation PR. The
16+
reviewer will ask you to open a tracking issue if they agree your feature can be
17+
added without an RFC.
18+
-->
19+
20+
Feature gate: `#![feature(...)]`
21+
22+
This is a tracking issue for ...
23+
24+
<!--
25+
Include a short description of the feature.
26+
-->
27+
28+
### Public API
29+
30+
<!--
31+
For most library features, it'd be useful to include a summarized version of the public API.
32+
(E.g. just the public function signatures without their doc comments or implementation.)
33+
-->
34+
35+
```rust
36+
// core::magic
37+
38+
pub struct Magic;
39+
40+
impl Magic {
41+
pub fn magic(self);
42+
}
43+
```
44+
45+
### Steps / History
46+
47+
<!--
48+
For larger features, more steps might be involved.
49+
If the feature is changed later, please add those PRs here as well.
50+
-->
51+
52+
- [ ] Implementation: #...
53+
- [ ] Final comment period (FCP)
54+
- [ ] Stabilization PR
55+
56+
<!--
57+
Once the feature has gone through a few release cycles and there are no
58+
unresolved questions left, the feature might be ready for stabilization.
59+
60+
If this feature didn't go through the RFC process, a final comment period
61+
(FCP) is always needed before stabilization. This works as follows:
62+
63+
A library API team member can kick off the stabilization process, at which point
64+
the rfcbot will ask all the team members to verify they agree with
65+
stabilization. Once enough members agree and there are no concerns, the final
66+
comment period begins: this issue will be marked as such and will be listed
67+
in the next This Week in Rust newsletter. If no blocking concerns are raised in
68+
that period of 10 days, a stabilzation PR can be opened by anyone.
69+
-->
70+
71+
### Unresolved Questions
72+
73+
<!--
74+
Include any open questions that need to be answered before the feature can be
75+
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
76+
to open a separate issue for each, to make it easier to keep track of the
77+
discussions.
78+
79+
It's useful to link any relevant discussions and conclusions (whether on GitHub,
80+
Zulip, or the internals forum) here.
81+
-->
82+
83+
- None yet.

.github/ISSUE_TEMPLATE/regression.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
name: Regression
3+
about: Report something that unexpectedly changed between Rust versions.
4+
labels: C-bug, regression-untriaged
5+
---
6+
<!--
7+
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.
8+
9+
Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
10+
-->
11+
12+
### Code
13+
14+
I tried this code:
15+
16+
```rust
17+
<code>
18+
```
19+
20+
I expected to see this happen: *explanation*
21+
22+
Instead, this happened: *explanation*
23+
24+
### Version it worked on
25+
26+
<!--
27+
Provide the most recent version this worked on, for example:
28+
29+
It most recently worked on: Rust 1.47
30+
-->
31+
32+
It most recently worked on: <!-- version -->
33+
34+
### Version with regression
35+
36+
<!--
37+
Provide the version you are using that has the regression.
38+
-->
39+
40+
`rustc --version --verbose`:
41+
```
42+
<version>
43+
```
44+
45+
<!--
46+
Did the compiler crash? If so, please provide a backtrace.
47+
-->
48+
49+
### Backtrace
50+
<!--
51+
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
52+
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
53+
-->
54+
<details><summary>Backtrace</summary>
55+
<p>
56+
57+
```
58+
<backtrace>
59+
```
60+
61+
</p>
62+
</details>
63+
64+
<!--
65+
If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly.
66+
67+
@rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged
68+
-->

0 commit comments

Comments
 (0)