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

Make VaList contain a VaListImpl directly. #238

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f1ac2bc
bump stage0
BoxyUwU Sep 6, 2024
ebb7661
Revert warning empty patterns as unreachable
Nadrieril Aug 28, 2024
870842a
Win: Add dbghelp to the list of import libraries
ChrisDenton Sep 6, 2024
bc70d3a
`RepeatN`: use MaybeUninit
fee1-dead Sep 9, 2024
cf1715d
Update LLVM to 19 327ca6c
DianQK Sep 10, 2024
a4fe8cf
Revert "Rollup merge of #129749 - krasimirgg:llvm-20-lto, r=nikic"
tmandry Sep 17, 2024
44ac4c8
Check params for unsafety in THIR
compiler-errors Sep 18, 2024
23214b8
Limit `run-make` tests using `-Zbuild-std` to nightly
cuviper Sep 20, 2024
4839086
Use equality when relating formal and expected type in arg checking
compiler-errors Aug 20, 2024
c66c5f4
Inline expected_inputs_for_expected_output into check_argument_types/…
compiler-errors Aug 25, 2024
47b7f46
Don't call extern_crate when local crate name is the same as a depend…
compiler-errors Sep 12, 2024
f57dba3
bootstrap: Set the dylib path when building books with rustdoc
cuviper Sep 18, 2024
d413c85
Only add an automatic SONAME for Rust dylibs
cuviper Sep 27, 2024
8b9da6d
Reject leading unsafe in `cfg!(...)` and `--check-cfg`.
Urgau Sep 30, 2024
95f2c19
Failing diff test
compiler-errors Oct 3, 2024
b8d6c8b
Disable jump threading UnOp::Not for non-bool
compiler-errors Oct 3, 2024
dea4dbe
Update LLVM submodule
DianQK Oct 9, 2024
8d07da3
Split x86_64-msvc-ext into two jobs
ChrisDenton Sep 7, 2024
e66271a
Fix checktools.sh non-msvc builds
ChrisDenton Sep 7, 2024
d2e4166
Fix bash syntax
ChrisDenton Sep 7, 2024
7f9fc9f
Use small runner for msvc-ext2 job
ChrisDenton Sep 9, 2024
f8b210e
Sync release notes from master and #131137
cuviper Oct 14, 2024
696ae09
bump channel to stable
cuviper Oct 14, 2024
00ad3fb
Move `too_long_first_doc_paragraph` to `nursery`
flip1995 Oct 15, 2024
6dcbb29
Use llvm submodule with Xtensa arch support.
MabezDev Oct 16, 2024
278b481
Teach rustc about the Xtensa arch.
MabezDev Sep 3, 2024
531ecc3
Teach rust core about Xtensa VaListImpl
kelnos Feb 16, 2021
67d629f
Add a custom lowering of vaarg for xtensa.
plietar Oct 18, 2023
d2d9114
asm! support for the Xtensa architecture (#68)
MabezDev Aug 12, 2021
a41daf6
Enable Xtensa codegen for rustc_codegen_gcc
MabezDev Nov 2, 2022
f48278c
Add esp8266 no_std target
MabezDev Oct 16, 2024
5d3b2cc
README for esp-rs/rust
MabezDev Sep 9, 2021
e698506
Create issue_handler.yml
MabezDev Jul 11, 2023
1eb0b2f
Make VaList contain a VaListImpl directly.
jothan Oct 19, 2024
00b3373
Fix.
jothan Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/issue_handler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add new issues to project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/esp-rs/projects/2
github-token: ${{ secrets.PAT }}
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
shallow = true
[submodule "src/llvm-project"]
path = src/llvm-project
url = https://github.com/rust-lang/llvm-project.git
branch = rustc/19.1-2024-07-30
url = https://github.com/espressif/llvm-project
branch = xtensa_release_18.1.2
shallow = true
[submodule "src/doc/embedded-book"]
path = src/doc/embedded-book
Expand Down
71 changes: 12 additions & 59 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,24 @@
<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/rust-lang/www.rust-lang.org/master/static/images/rust-social-wide-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/rust-lang/www.rust-lang.org/master/static/images/rust-social-wide-light.svg">
<img alt="The Rust Programming Language: A language empowering everyone to build reliable and efficient software"
src="https://raw.githubusercontent.com/rust-lang/www.rust-lang.org/master/static/images/rust-social-wide-light.svg"
width="50%">
</picture>
# The Rust Programming Language for Espressif chips

[Website][Rust] | [Getting started] | [Learn] | [Documentation] | [Contributing]
</div>
This fork enables projects to be built for the Xtensa-based ESP32, ESP32-SXX and ESP8266 using [Espressif's llvm fork](https://github.com/espressif/llvm-project). (RiscV chips like ESP32-CXX are already supported in stock Rust.)

This is the main source code repository for [Rust]. It contains the compiler,
standard library, and documentation.
Moreover, this fork enables Rust STD support (networking, threads, and filesystem) for all chips in the ESP32 family (Xtensa and RiscV), by optionally linking with the ESP-IDF framework.

[Rust]: https://www.rust-lang.org/
[Getting Started]: https://www.rust-lang.org/learn/get-started
[Learn]: https://www.rust-lang.org/learn
[Documentation]: https://www.rust-lang.org/learn#learn-use
[Contributing]: CONTRIBUTING.md
The [esp-rs](https://github.com/esp-rs) organization has been formed to develop runtime, pac and hal crates for the Espressif chips (bare-metal as well as ESP-IDF based).

## Why Rust?
Join in on the discussion: https://matrix.to/#/#esp-rs:matrix.org!

- **Performance:** Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrate with other languages.
## Installation

- **Reliability:** Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.
Please see the most up to date instructions in the [esp rust book](https://esp-rs.github.io/book/).

- **Productivity:** Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool ([Cargo]), auto-formatter ([rustfmt]), linter ([Clippy]) and editor support ([rust-analyzer]).
## Building from source

[Cargo]: https://github.com/rust-lang/cargo
[rustfmt]: https://github.com/rust-lang/rustfmt
[Clippy]: https://github.com/rust-lang/rust-clippy
[rust-analyzer]: https://github.com/rust-lang/rust-analyzer
If you wish to build this fork from source, the instructions are almost identical to the ones upstream ([follow here](https://github.com/rust-lang/rust#installing-from-source)), however before beginning the build, run the following `./configure` command:

## Quick Start

Read ["Installation"] from [The Book].

["Installation"]: https://doc.rust-lang.org/book/ch01-01-installation.html
[The Book]: https://doc.rust-lang.org/book/index.html

## Installing from Source

If you really want to install from source (though this is not recommended), see
[INSTALL.md](INSTALL.md).

## Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md).
```
./configure --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --enable-lld
```

## License

Expand All @@ -60,18 +28,3 @@ licenses.

See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and
[COPYRIGHT](COPYRIGHT) for details.

## Trademark

[The Rust Foundation][rust-foundation] owns and protects the Rust and Cargo
trademarks and logos (the "Rust Trademarks").

If you want to use these names or brands, please read the
[media guide][media-guide].

Third-party logos may be subject to third-party copyrights and trademarks. See
[Licenses][policies-licenses] for details.

[rust-foundation]: https://foundation.rust-lang.org/
[media-guide]: https://foundation.rust-lang.org/policies/logo-policy-and-media-guide/
[policies-licenses]: https://www.rust-lang.org/policies/licenses
Loading
Loading