Skip to content

Commit 2f4a610

Browse files
authored
Upgrade open62541-sys to v0.5.0 (#296)
- Fix (known) build issues with Rust v1.90 - Closes #288
1 parent 1424caf commit 2f4a610

4 files changed

Lines changed: 14 additions & 32 deletions

File tree

.github/workflows/latest-dependencies.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ env:
2323
CARGO_INCREMENTAL: 0
2424
CARGO_TERM_COLOR: always
2525
RUST_BACKTRACE: short
26-
# TODO: Remove custom RUSTFLAGS for x86_64-unknown-linux-gnu after linking issues
27-
# with rust-lld have been resolved.
28-
# See also: <https://github.com/HMIProject/open62541/issues/288>
29-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-Clinker-features=-lld"
30-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTDOCFLAGS: "-Clinker-features=-lld"
3126

3227
jobs:
3328
run:

Cargo.lock

Lines changed: 13 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include = ["src/", "README.md", "CHANGELOG.md", "LICENSES/MPL-2.0.txt"]
1919
futures-channel = "0.3.30"
2020
futures-core = { version = "0.3.30", default-features = false }
2121
log = "0.4.20"
22-
open62541-sys = "0.4.17"
22+
open62541-sys = "0.5.0"
2323
parking_lot = "0.12.4"
2424
paste = "1.0.14"
2525
serde = { version = "1.0.194", optional = true }

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,6 @@ capabilities to an existing program.
2020
You can find examples in our [documentation](https://docs.rs/open62541) and in the `examples/`
2121
folder in our repository.
2222

23-
## Known Issues
24-
25-
### Rust 1.90 / x86_64-unknown-linux-gnu
26-
27-
Linking with `rust-lld` fails with unresolved symbols. As a workaround add the following entry to
28-
your `.cargo/config.toml`:
29-
30-
```toml
31-
[target.x86_64-unknown-linux-gnu]
32-
rustflags = ["-Clinker-features=-lld"]
33-
```
34-
35-
Alternatively set the corresponding environment variable
36-
`CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS` to `-Clinker-features=-lld`.
37-
38-
See also:
39-
40-
- [Announcing Rust 1.90.0](https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/#lld-is-now-the-default-linker-on-x86-64-unknown-linux-gnu)
41-
- [GitHub Issue \#288](https://github.com/HMIProject/open62541/issues/288)
42-
4323
## Contributing
4424

4525
Make sure to use `LF` line endings and run `just pre-commit` before committing your changes.

0 commit comments

Comments
 (0)