Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a zero.rs macro. Use it in std. #6877

Closed
brson opened this issue Jun 1, 2013 · 4 comments
Closed

Create a zero.rs macro. Use it in std. #6877

brson opened this issue Jun 1, 2013 · 4 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jun 1, 2013

Convert zero.rs into a macro and use it to build std. Add a test case to run-pass that verifies others can use it to bootstrap their freestanding projects.

@brson
Copy link
Contributor Author

brson commented Jun 1, 2013

Make sure there's a sensible upgrade path.

@catamorphism
Copy link
Contributor

(bug triage) Not a milestone blocker IMO.

@brson
Copy link
Contributor Author

brson commented Oct 18, 2013

zero.rs is no longer really relevant, though I still think it's a good long term goal to build std on top of a more general lower-level substrate. Currently that's looking more like @thestinger's rust-core project.

@thestinger
Copy link
Contributor

Closing in favour of #10043. I'm not entirely sure what the best path here will be, but it's not currently possible due to lacking static linking of crates. It's also not going to be as simple as one configuration flag, because we'll probably need to split the freestanding and C runtime use cases.

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 8, 2021
Clippy going dark: Adding a dark theme to Clippy's lint list

This PR adds the MdBook color themes to the lint list of Clippy. Well at least an adaption of these themes.

<details>
<summary>Here are some beautiful screenshots:</summary>

**light theme**
![image](https://user-images.githubusercontent.com/17087237/113510593-e31fb280-955b-11eb-8ab1-8b5bcf287475.png)

**Rust theme**
![image](https://user-images.githubusercontent.com/17087237/113510734-79ec6f00-955c-11eb-981c-8ebe890acf79.png)

**Coal theme**
![image](https://user-images.githubusercontent.com/17087237/113510752-8ec90280-955c-11eb-8f5c-c87ca07c35c2.png)

**Navy theme**
![image](https://user-images.githubusercontent.com/17087237/113510675-3f82d200-955c-11eb-8992-8c784abe19ea.png)

**Ayu theme**
![image](https://user-images.githubusercontent.com/17087237/113510700-588b8300-955c-11eb-83e0-a8f770e9f913.png)

</details>

The theme is also stored in the browser to ensure that the next session applies the theme and doesn't burn your eyes out.

cc: `@matthiaskrgr`

---

Closes rust-lang#6877

changelog: [Clippy's lint list](https://rust-lang.github.io/rust-clippy/master/index.html) now supports themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

3 participants