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

Build fixes for CGO #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

darthShadow
Copy link

This is trying to fix a few build errors due to cgo constraints and incorrect workflow for testing that.

@darthShadow
Copy link
Author

darthShadow commented Sep 16, 2022

You can see the current workflow run here: https://github.com/darthShadow/go-ieproxy/actions/runs/3066692597

It's currently failing tests for darwin & windows when CGO is disabled:

  • The darwin test is failing because of the missing implementation for overrideEnvWithStaticProxy in ieproxy_unix.go
  • The windows test is failing because of the missing regedit defintions in ieproxy_unix.go

Signed-off-by: Anagh Kumar Baranwal <[email protected]>
Signed-off-by: Anagh Kumar Baranwal <[email protected]>
@darthShadow
Copy link
Author

Hi, Is there any problem with this PR that I need to fix that would allow it to get merged?

@djs55
Copy link
Contributor

djs55 commented Dec 14, 2022

I think the Windows code doesn't use cgo (no import "C") so it's ok to build it without cgo: djs55@39db71e

@darthShadow
Copy link
Author

Ah, I missed that bit. Do you want me to cherry-pick your commit or do you want to create a separate PR once/if this is merged?

@s-weigand
Copy link

Any update on this? The windows support of an upstream project seems to depend on it 🥺

@mattn
Copy link
Owner

mattn commented May 22, 2024

Sorry, could you please rebase master branch?

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