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: don't force a specific compiler/version #60

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

ju1ius
Copy link
Contributor

@ju1ius ju1ius commented Jan 31, 2024

See #59 for context.

Closes #59.

@ju1ius ju1ius changed the title build: don't force the a specific compiler/version build: don't force a specific compiler/version Jan 31, 2024
@lemire
Copy link
Member

lemire commented Jan 31, 2024

Running tests.

build.rs Show resolved Hide resolved
@@ -175,8 +173,6 @@ fn main() {
println!("cargo:rustc-link-lib=c");
build.file("./deps/wasi_to_unknown.cpp");
}
} else if !(compile_target_os == "windows" && compile_target_env == "msvc") {
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to add a GitHub workflow to ensure your case never gets broken?

Copy link
Contributor Author

@ju1ius ju1ius Jan 31, 2024

Choose a reason for hiding this comment

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

You mean adding an ubuntu+gcc variant to the matrix?

Copy link
Member

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean adding an ubuntu+gcc variant to the matrix?

I could do that (i.e. by passing CXX=g++ in the env), but I don't see an easy way to test that the build actually ends up using gcc...

Copy link
Member

Choose a reason for hiding this comment

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

@anonrig anonrig merged commit be5c260 into ada-url:main Feb 2, 2024
6 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.

fails to build on debian sid
3 participants