From 4d8069bb1408ceea0387bdb0cd8495d938c45f6d Mon Sep 17 00:00:00 2001 From: maxicot Date: Thu, 4 Dec 2025 19:18:41 +0300 Subject: [PATCH 1/5] Initial CI setup --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..784ce61 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,13 @@ +name: build attempt +on: + push: + pull_request: + +jobs: + build: + name: cargo build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + - run: cargo build From abfa3696cb4ea22d031befb84091fa0559f3087f Mon Sep 17 00:00:00 2001 From: maxicot Date: Thu, 4 Dec 2025 19:20:58 +0300 Subject: [PATCH 2/5] Set up nightly --- rust-toolchain.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5d56faf --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" From cc80654fa6d5123d2ad56ea0dbe9036e702777ac Mon Sep 17 00:00:00 2001 From: maxicot Date: Thu, 4 Dec 2025 19:22:47 +0300 Subject: [PATCH 3/5] Add freestanding target --- rust-toolchain.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf..493d2e6 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] channel = "nightly" +targets = ["x86_64-unknown-none"] From f7c605c2c4dc97b2f7127eb0701dab554646bf15 Mon Sep 17 00:00:00 2001 From: maxicot Date: Thu, 4 Dec 2025 19:34:17 +0300 Subject: [PATCH 4/5] Specify toolchain components --- rust-toolchain.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 493d2e6..cac65c0 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] channel = "nightly" targets = ["x86_64-unknown-none"] +components = ["rustc", "cargo", "rust-src"] From 0e08b3e17006de66e234543318a6c7e17d520882 Mon Sep 17 00:00:00 2001 From: maxicot Date: Thu, 4 Dec 2025 19:41:43 +0300 Subject: [PATCH 5/5] Add llvm-tools component --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index cac65c0..3278123 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] channel = "nightly" targets = ["x86_64-unknown-none"] -components = ["rustc", "cargo", "rust-src"] +components = ["rustc", "cargo", "rust-src", "llvm-tools"]