diff --git a/.github/workflows/issue_handler.yml b/.github/workflows/issue_handler.yml new file mode 100644 index 0000000000000..978e80428ce89 --- /dev/null +++ b/.github/workflows/issue_handler.yml @@ -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 }} diff --git a/.gitmodules b/.gitmodules index b5250d493864e..4da3c1dd9229d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/README.md b/README.md index 3690a9c93c528..bc467072f0f84 100644 --- a/README.md +++ b/README.md @@ -1,56 +1,24 @@ -
,
languages: Vec<&'static str>,
- rustdoc: Option {
@@ -157,7 +157,9 @@ impl {
let _ = fs::remove_dir_all(&out);
let mut rustbook_cmd = builder.tool_cmd(Tool::Rustbook);
- if let Some(mut rustdoc) = self.rustdoc {
+
+ if let Some(compiler) = self.rustdoc_compiler {
+ let mut rustdoc = builder.rustdoc(compiler);
rustdoc.pop();
let old_path = env::var_os("PATH").unwrap_or_default();
let new_path =
@@ -165,6 +167,7 @@ impl {
.expect("could not add rustdoc to PATH");
rustbook_cmd.env("PATH", new_path);
+ builder.add_rustc_lib_path(compiler, &mut rustbook_cmd);
}
rustbook_cmd.arg("build").arg(&src).arg("-d").arg(&out).run(builder);
@@ -240,7 +243,7 @@ impl Step for TheBook {
src: absolute_path.clone(),
parent: Some(self),
languages: vec![],
- rustdoc: None,
+ rustdoc_compiler: None,
});
// building older edition redirects
@@ -253,7 +256,7 @@ impl Step for TheBook {
// treat the other editions as not having a parent.
parent: Option::