Skip to content

Added a test checking the proc-macro interface#80

Open
FractalFir wants to merge 1 commit intoGankra:mainfrom
FractalFir:main
Open

Added a test checking the proc-macro interface#80
FractalFir wants to merge 1 commit intoGankra:mainfrom
FractalFir:main

Conversation

@FractalFir
Copy link

As the title says. This test is a recreation of the proc-macro library / compiler interface.

Since this is one of the places where compiler backends most often interact, checking it seems worthwhile. This particular test currently fails with cg_gcc on ARM.

I could not find a good way to test the usize type, so I replaced it with ptr, to keep it's size right across platforms.

drop "ptr"
}
struct "Closure" {
call "ptr"
Copy link
Contributor

Choose a reason for hiding this comment

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

I just noticed that you are inconsistently using tabs vs spaces.

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