Skip to content

fix feature start removal for all exemples #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

antoineok
Copy link
Contributor

As of a recent rust update, feature(start) was removed, forcing to do this small workaround to still have the C main function

antoineok and others added 8 commits February 9, 2025 17:16
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
As of a recent rust update, feature(start) was removed, forcing to do this small workaround
add db lib
@@ -15,8 +14,8 @@ use ogc_rs::{

extern crate alloc;

#[start]
fn main(_argc: isize, _argv: *const *const u8) -> isize {
#[no_mqngle]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[no_mqngle]?

@@ -15,8 +14,8 @@ use embedded_graphics::{

use ogc_rs::prelude::*;

#[start]
fn main(_argc: isize, _argv: *const *const u8) -> isize {
#[no_mqngle]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants