Skip to content

Commit

Permalink
hal option not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov authored Oct 17, 2023
1 parent b55c133 commit 548f1b9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cargo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#![no_main]
{% endunless -%}

{%- if hal %}
{%- unless std %}
#[no_mangle]
{%- endunless %}
Expand All @@ -17,9 +16,4 @@ fn main() {

log::info!("Hello, world!");
}
{%- else %}
#[no_mangle]
extern "C" fn app_main() -> i32 {
42
}
{%- endif %}

0 comments on commit 548f1b9

Please sign in to comment.