Skip to content

Commit

Permalink
Rename _start to _powdr_start (#2254)
Browse files Browse the repository at this point in the history
Should fix #2220 
cc @gballet
  • Loading branch information
Schaeff authored Dec 18, 2024
1 parent d98b7eb commit 95c96bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions asm-to-pil/src/romgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub fn generate_machine_rom<T: FieldElement>(mut machine: Machine) -> (Machine,
// add the beginning of the dispatcher
rom.extend(vec![
Batch::from(vec![
parse_function_statement("_start:"),
parse_function_statement("_powdr_start:"),
parse_function_statement(&format!("{RESET_NAME};")),
])
.reason(IncompatibleSet::from(Incompatible::Unimplemented)),
Expand Down Expand Up @@ -290,7 +290,7 @@ mod tests {
.to_string()
.replace('\t', " "),
r#"
_start:
_powdr_start:
_reset;
// END BATCH Unimplemented
_jump_to_operation;
Expand Down Expand Up @@ -328,7 +328,7 @@ _loop;
.to_string()
.replace('\t', " "),
r#"
_start:
_powdr_start:
_reset;
// END BATCH Unimplemented
_jump_to_operation;
Expand Down Expand Up @@ -387,7 +387,7 @@ _loop;
.to_string()
.replace('\t', " "),
r#"
_start:
_powdr_start:
_reset;
// END BATCH Unimplemented
_jump_to_operation;
Expand Down

0 comments on commit 95c96bb

Please sign in to comment.