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

Replacecstr16! with a declarative macro#1145

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

Conversation

nicholasbishop
Copy link
Member

@nicholasbishopnicholasbishop commentedApr 21, 2024
edited
Loading

Add a new declarative macro that makes use of theucs2::ucs2_cstr macro. Drop the proc macro fromuefi_macros. For users of theuefi API there should be no change, just a different implementation behind the scenes.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See theRewriting History guide for help.
  • Update the changelog (if necessary)

Instead of importing the `cstr16` proc macro from `uefi_macros`, add a newdeclarative macro. This makes use of the new `ucs2::ucs2_cstr` declarativemacro, so bump the minimum version of `ucs2` to 0.3.3.
This is replaced by a new `cstr16` declarative macro in the `uefi` crate.
@phip1611
Copy link
Member

Nice

@phip1611phip1611 added this pull request to themerge queueApr 21, 2024
Merged via the queue intorust-osdev:main with commit5ade028Apr 21, 2024
@nicholasbishopnicholasbishop deleted the bishop-rework-cstr16-macro branchApril 21, 2024 21:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@phip1611phip1611phip1611 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@nicholasbishop@phip1611

[8]ページ先頭

©2009-2025 Movatter.jp