Skip to content
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

Don't run proc-macro-srv tests on the rust-analyzer repo #13286

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Sep 23, 2022

proc-macro ABI breakage still affects the tests when a new stable version releases. Ideally we'd still be able to run the tests on the rust-analyzer repo without having to update the proc-macro ABI, but for now just to unblock CI we will ignore them here, as they are still run in upstream.

@Veykril Veykril force-pushed the proc-macro-srv-tests branch from b4167b8 to a1aad7c Compare September 23, 2022 21:42
proc-macro ABI breakage still affects the tests when a new stable version
releases. Ideally we'd still be able to run the tests on the rust-analyzer
repo without having to update the proc-macro ABI, but for now just to
unblock CI we will ignore them here, as they are still run in upstream.
@Veykril Veykril force-pushed the proc-macro-srv-tests branch from a1aad7c to f57cd83 Compare September 23, 2022 22:08
@Veykril
Copy link
Member Author

Veykril commented Sep 23, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 23, 2022

📌 Commit f57cd83 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 23, 2022

⌛ Testing commit f57cd83 with merge 1440078...

@bors
Copy link
Contributor

bors commented Sep 23, 2022

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 1440078 to master...

@bors bors merged commit 1440078 into rust-lang:master Sep 23, 2022
@Veykril Veykril deleted the proc-macro-srv-tests branch September 23, 2022 22:41
@lnicola
Copy link
Member

lnicola commented Sep 27, 2022

@Veykril
Copy link
Member Author

Veykril commented Sep 27, 2022

Hm, guess we'll have to swap in an #[ignore] and add a tidy.rs exception

@bjorn3
Copy link
Member

bjorn3 commented Sep 27, 2022

You can also use #[cfg(any())] if you prefer: /~https://github.com/bjorn3/rustc_codegen_cranelift/blob/93703a4f1be10ec45221ee9b46374fc82b87942c/src/base.rs#L164

bors added a commit that referenced this pull request Sep 27, 2022
Use cfg(any()) instead of cfg(FALSE) for disabling proc-macro test

cc #13286
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.

4 participants