Skip to content

Adding the rustc_flags#12

Merged
castler merged 1 commit intoeclipse-score:mainfrom
sahithi-nukala:adding_rustc_flags
Jan 16, 2026
Merged

Adding the rustc_flags#12
castler merged 1 commit intoeclipse-score:mainfrom
sahithi-nukala:adding_rustc_flags

Conversation

@sahithi-nukala
Copy link
Contributor

No description provided.

MODULE.bazel Outdated
exec_triple = "x86_64-unknown-linux-gnu",
extra_rustc_flags = [
"-Clink-arg=-Wl,--no-as-needed",
"-Clink-arg=-lstdc++",
Copy link
Contributor

Choose a reason for hiding this comment

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

MODULE.bazel Outdated
exec_triple = "x86_64-unknown-linux-gnu",
extra_rustc_flags = [
"-Clink-arg=-Wl,--no-as-needed",
"-Clink-arg=-lstdc++",
Copy link
Contributor

Choose a reason for hiding this comment

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

In order to ensure the compatibility of Rust and C++, we add these
linker flags to enable the case that rust_binaries can depend also
on cc_libraries.
@castler castler merged commit f3cc782 into eclipse-score:main Jan 16, 2026
1 check 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.

2 participants