Skip to content

add a "const-fn" feature #90

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

Merged
merged 1 commit into from
May 13, 2018
Merged

add a "const-fn" feature #90

merged 1 commit into from
May 13, 2018

Conversation

japaric
Copy link
Member

@japaric japaric commented May 13, 2018

No description provided.

@japaric
Copy link
Member Author

japaric commented May 13, 2018

bors r+

bors bot added a commit that referenced this pull request May 13, 2018
90: add a "const-fn" feature r=japaric a=japaric



Co-authored-by: Jorge Aparicio <[email protected]>
@bors
Copy link
Contributor

bors bot commented May 13, 2018

Build failed

@japaric
Copy link
Member Author

japaric commented May 13, 2018

bors r+

bors bot added a commit that referenced this pull request May 13, 2018
90: add a "const-fn" feature r=japaric a=japaric



Co-authored-by: Jorge Aparicio <[email protected]>
@bors
Copy link
Contributor

bors bot commented May 13, 2018

Build succeeded

@bors bors bot merged commit 0e468eb into master May 13, 2018
@japaric japaric deleted the const-fn branch May 13, 2018 10:18
adamgreig pushed a commit that referenced this pull request Jan 12, 2022
90: turn macros into attributes r=adamgreig a=japaric

This is a PoC implementation of RFC #82. Assuming that we are OK with this implementation we should
add some compile fail tests (e.g. using a function with the wrong signature as the entry point)
before landing this.

Look at the diff of the examples to get an overview of the changes.

cc @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <[email protected]>
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