Skip to content

Commit

Permalink
general: Update repo & CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkajetanp committed Aug 20, 2024
1 parent adf9cce commit f1a3eb9
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 25 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
run: cargo build --verbose

test:
Expand All @@ -25,4 +30,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run tests
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
run: cargo test --verbose
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
[package]
name = "c-compiler"
name = "rcc"
version = "0.1.0"
edition = "2021"

[features]
# Enable the LLVM codegen backend
llvm = ["llvm-sys"]

[[bin]]
name = "rcc"
path = "src/main.rs"

[dependencies]
clap = { version = "4.5.11", features = ["derive"] }
colog = "1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use clap::Parser;
use log::LevelFilter;

use c_compiler::*;
use rcc::*;

#[derive(Parser)]
#[command(version, about, long_about = None)]
Expand Down

0 comments on commit f1a3eb9

Please sign in to comment.