Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

template: fix build failure#1217

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicholasbishop merged 1 commit intorust-osdev:mainfromJeffLi01:main
Jun 25, 2024
Merged

Conversation

JeffLi01
Copy link
Contributor

@JeffLi01JeffLi01 commentedJun 25, 2024
edited
Loading

The template failed to build when built with cmds below:

cd templatecargo build --target x86_64-unknown-uefi

We'll get error:

error: no global memory allocator found but one is required; link to std or add`#[global_allocator]` to a static item that implements the GlobalAlloc traiterror:`#[panic_handler]`functionrequired, but not founderror: could not compile`uefi_app` (bin"uefi_app") due to 2 previous errors

As the Rust UEFI Book shown, the template succeeds to build with uefi-rs featurepanic_handler enabled.

@JeffLi01JeffLi01 marked this pull request as ready for reviewJune 25, 2024 14:15
Signed-off-by: Jeff Li <lijinfeng01@ieisystem.com>
@phip1611
Copy link
Member

Yikes, sorry that you ran into that. The proper solution is#1170

ping@nicholasbishop

@nicholasbishop
Copy link
Member

Thanks for the fix. I'll go ahead and merge, we can revisit after resolving 1170.

@nicholasbishopnicholasbishop added this pull request to themerge queueJun 25, 2024
Merged via the queue intorust-osdev:main with commitb07b468Jun 25, 2024
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JeffLi01@phip1611@nicholasbishop

[8]ページ先頭

©2009-2025 Movatter.jp