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

freebsd add MAP_ALIGNED macro #3167

Merged
merged 1 commit into from Apr 9, 2023
Merged

Conversation

devnexen
Copy link
Contributor

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Mar 25, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@devnexen devnexen force-pushed the fbsd_map_aligned branch 3 times, most recently from 4bebf9d to 4d4b6d0 Compare March 26, 2023 16:11
@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 27, 2023

📌 Commit 4d4b6d0 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Mar 27, 2023

⌛ Testing commit 4d4b6d0 with merge eb1e6c3...

bors added a commit that referenced this pull request Mar 27, 2023
@bors
Copy link
Contributor

bors commented Mar 27, 2023

💔 Test failed - checks-actions

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Apr 1, 2023

📌 Commit 03eebbf has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Apr 1, 2023

⌛ Testing commit 03eebbf with merge 5846917...

bors added a commit that referenced this pull request Apr 1, 2023
@bors
Copy link
Contributor

bors commented Apr 1, 2023

💔 Test failed - checks-cirrus-freebsd-14

@JohnTitor
Copy link
Member

@bors retry

@JohnTitor
Copy link
Member

Failed on 1.19:

 error[E0015]: calls in constants are limited to struct and enum constructors
    --> src/unix/bsd/freebsdlike/freebsd/mod.rs:2667:40
     |
2667 |   pub const MAP_ALIGNED_SUPER: ::c_int = MAP_ALIGNED(1);
     |                                          ^^^^^^^^^^^^^^
     | 
    ::: src/lib.rs
     |
93   | / cfg_if! {
94   | |     if #[cfg(windows)] {
95   | |         mod fixed_width_ints;
96   | |         pub use fixed_width_ints::*;
...    |
162  | |     }
163  | | }
     | |_- in this macro invocation
     |
note: a limited form of compile-time function evaluation is available on a nightly compiler via `const fn`
    --> src/unix/bsd/freebsdlike/freebsd/mod.rs:2667:40
     |
2667 |   pub const MAP_ALIGNED_SUPER: ::c_int = MAP_ALIGNED(1);
     |                                          ^^^^^^^^^^^^^^
     | 
    ::: src/lib.rs
     |
93   | / cfg_if! {
94   | |     if #[cfg(windows)] {
95   | |         mod fixed_width_ints;
96   | |         pub use fixed_width_ints::*;
...    |
162  | |     }
163  | | }
     | |_- in this macro invocation

error: aborting due to previous error(s)

@rustbot author

@devnexen
Copy link
Contributor Author

devnexen commented Apr 4, 2023

@rustbot review

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Apr 5, 2023

📌 Commit e6c1c65 has been approved by JohnTitor

It is now in the queue for this repository.

bors added a commit that referenced this pull request Apr 5, 2023
@bors
Copy link
Contributor

bors commented Apr 5, 2023

⌛ Testing commit e6c1c65 with merge 6063d7a...

@bors
Copy link
Contributor

bors commented Apr 5, 2023

💔 Test failed - checks-actions

@JohnTitor
Copy link
Member

sparc64 timeout, @bors retry

@bors
Copy link
Contributor

bors commented Apr 5, 2023

⌛ Testing commit e6c1c65 with merge b9ae4b5...

bors added a commit that referenced this pull request Apr 5, 2023
@JohnTitor
Copy link
Member

Seems bors somehow didn't receive a signal to stop, @bors r- retry

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Apr 9, 2023

📌 Commit e6c1c65 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Apr 9, 2023

⌛ Testing commit e6c1c65 with merge 56a74a6...

@bors
Copy link
Contributor

bors commented Apr 9, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 56a74a6 to master...

@bors bors merged commit 56a74a6 into rust-lang:master Apr 9, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants