Skip to content

Add no_std support#57

Open
stevefan1999-personal wants to merge 10 commits intomurarth:masterfrom
stevefan1999-personal:patch-no-std
Open

Add no_std support#57
stevefan1999-personal wants to merge 10 commits intomurarth:masterfrom
stevefan1999-personal:patch-no-std

Conversation

@stevefan1999-personal
Copy link

This PR will allow no_std program to compile given the default features ("std" and "gumdrop_derive/std"):

gumdrop = { version = "*", default-features = false }

this is especially great for bare metal Rust, especially for kernel programming.

This will disable parse_args_or_exit, parse_args_default_or_exit respectively due to lack of platform. This means the user must supply the string manually.

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.

1 participant