Help talk:Toolforge/Rust
Appearance
Latest comment: 1 month ago by RoySmith in topic What webservice type?
Job framework compilation
Hi, using the described procedure, I get:
error: linking with `cc` failed: exit status: 1 ... = note: /usr/bin/ld: cannot find -lcurl: No such file or directory collect2: error: ld returned 1 exit status
I tired php7.4 and golang1.11 images but they don't seem to have cc installed.
Maybe it's time for a proper Rust image? Magnus Manske (talk) 11:32, 8 December 2023 (UTC)
- @Magnus Manske: cc is there, the issue is that it's trying to link against libcurl-dev, which isn't installed. What crate are you using/which project is this? If it's the
curl
crate, you can try enabling the static-curl feature which will use a bundled libcurl instead of looking for a system-installed one. But also I'd recommend just using pure Rust crates to avoid dealing with C code entirely... :) Legoktm (talk) 19:04, 8 December 2023 (UTC)
What webservice type?
The instructions say to use "webservice ruby3.1", but the "easily track Rust projects" link shows you golang111 instances. This is confusing :-) RoySmith (talk) 19:16, 8 October 2024 (UTC)