Skip to content

Commit

Permalink
dont override build script in cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii committed Sep 18, 2024
1 parent 37c4bce commit ea1ee40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/codegen/sys/cargo_toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ fn fill_empty(root: &mut Table, env: &Env, crate_name: &str) {
fn fill_in(root: &mut Table, env: &Env) {
{
let package = upsert_table(root, "package");
set_string(package, "build", "build.rs");
package
.entry("build")
.or_insert_with(|| Value::String("build.rs".into()));
// set_string(package, "version", "0.2.0");
}

Expand Down

0 comments on commit ea1ee40

Please sign in to comment.