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

Revert "Specify link attribute for Windows to be happy" #1475

Closed
wants to merge 1 commit into from

Conversation

thiblahute
Copy link
Contributor

This reverts commit a8dc213.

Linking flags should be provided by the system-deps crate. Specifying linking with the attribute creates issue when statically linking system dependencies.

This reverts commit a8dc213.

Linking flags should be provided by the system-deps crate. Specifying
linking with the attribute creates issue when statically linking
system dependencies.
@sdroege
Copy link
Member

sdroege commented Jun 9, 2023

This will likely break things on Windows CC @seungha-yang.

Also after this it will be required to change some manual cases, e.g. in glib/src/param_spec.rs

@sdroege
Copy link
Member

sdroege commented Jun 9, 2023

Unfortunately none of us can remember the details of this and the PR description was not very... descriptive.

Can you try removing all these, and then try building

  1. gst-plugins-rs in MSVC
  2. Some Rust application using the bindings in MSVC

If that all works fine it's probably all OK.

@thiblahute
Copy link
Contributor Author

I update gst-rs with that commit and CI passes: https://gitlab.freedesktop.org/thiblahute/gstreamer-rs/-/pipelines/904700 (well apart from regen-check) .

I updated gst-plugins-rs on top of that and ci looks all good https://gitlab.freedesktop.org/thiblahute/gst-plugins-rs/-/pipelines/904754

Do you think that is enough?

@sdroege
Copy link
Member

sdroege commented Jun 18, 2023

Please compile gst-plugins-rs with gtk-rs-core, gtk4 and gstreamer-rs regenerated with this and the manual #[link] attributes removed from the code too. That would be enough to convince me that this is not needed anymore :)

@sdroege
Copy link
Member

sdroege commented Aug 7, 2023

@thiblahute Any updates here?

@sdroege
Copy link
Member

sdroege commented Oct 3, 2023

gtk-rs/gtk-rs-core@d14883c has some more background why this was added, and also gtk-rs/gtk-rs-core#1199 is related.

@sdroege
Copy link
Member

sdroege commented Sep 19, 2024

Can be closed now: #1600

@sdroege sdroege closed this Sep 19, 2024
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