Skip to content

Commit

Permalink
Merge pull request #9 from ohos-rs/refactor-tool
Browse files Browse the repository at this point in the history
refactor(tool): move generate from lib to bin
  • Loading branch information
richerfu authored Jun 6, 2024
2 parents 64f442a + a0afc94 commit 03abf0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tools/generate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ version = "0.1.0"
edition = "2021"
publish = false

[lib]
crate-type = ["cdylib"]

[build-dependencies]
bindgen = "0.65.1"
once_cell = "1"
Expand Down
1 change: 0 additions & 1 deletion tools/generate/src/lib.rs

This file was deleted.

3 changes: 3 additions & 0 deletions tools/generate/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Build sys crates successfully.");
}

0 comments on commit 03abf0c

Please sign in to comment.