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

Add a std_once_cell feature #1113

Merged
merged 1 commit into from Jul 5, 2023
Merged

Add a std_once_cell feature #1113

merged 1 commit into from Jul 5, 2023

Conversation

A6GibKm
Copy link
Contributor

@A6GibKm A6GibKm commented Jun 2, 2023

That adds std::cell::OnceCell and std::sync::OnceLock support for the properties macro.

@ranfdev
Copy link
Member

ranfdev commented Jun 2, 2023

We lose the CI testing on the minimum supported version, rust 1.65. Are we sure we are ok with that?

@A6GibKm
Copy link
Contributor Author

A6GibKm commented Jun 3, 2023

Why is the last test failing?

@jf2048
Copy link
Member

jf2048 commented Jun 3, 2023

The docs regen thing is unrelated to this

@@ -18,7 +18,7 @@ jobs:
- stable
- beta
- nightly
- "1.65.0"
- "1.70.0"
Copy link
Member

Choose a reason for hiding this comment

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

We lose the CI testing on the minimum supported version, rust 1.65. Are we sure we are ok with that?

No, this needs to be optional and the CI needs to be updated accordingly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

CI needs to be updated accordingly.

What do toy mean by this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed in in the meantime from ci.

Copy link
Member

Choose a reason for hiding this comment

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

You need to disable this specific feature for the 1.65 CI run. It would be good to enable it for the others though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@A6GibKm A6GibKm force-pushed the rust-1.70 branch 2 times, most recently from 275cd28 to e7a0ab3 Compare July 4, 2023 17:08
@@ -23,7 +23,7 @@ jobs:
- { name: "cairo", features: "png,pdf,svg,ps,use_glib,v1_18,freetype,script,xcb,xlib,win32-surface", nightly: "--features 'png,pdf,svg,ps,use_glib,v1_18,freetype,script,xcb,xlib,win32-surface'", test_sys: true }
- { name: "gdk-pixbuf", features: "v2_42", nightly: "--all-features", test_sys: true }
- { name: "gio", features: "v2_74", nightly: "--all-features", test_sys: true }
- { name: "glib", features: "v2_74", nightly: "--all-features", test_sys: true }
- { name: "glib", features: "v2_74", nightly: "--features=v2_76,log,log_macros,compiletests", test_sys: true }
Copy link
Member

Choose a reason for hiding this comment

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

Well for nightly it's obviously fine to enable that feature. The way how it was before seemed good to me :) Sorry

I only didn't merge this yet because there was some CI failure and I had no time to look into that yet

That adds std::cell::OnceCell and std::sync::OnceLock support for the
properties macro.
@sdroege sdroege merged commit 363309c into gtk-rs:master Jul 5, 2023
36 of 38 checks passed
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.

None yet

4 participants