rust

  1. nbari

    rust cargo openssl (vendored) how to use the SSL from the OS?

    Hi, any ideas on how to compile rust ports using the sys OpenSSL? For Linux to cross-compile when using musl ading this to Cargo.toml works: openssl = { version = "0.10", features = ["vendored"] } But when testing the port I using: poudriere testport -p default -j 14amd64 devel/gbump I get...
  2. B

    error: linking with `cc` failed: exit status: 1 when building lang/rust port

    Unable to build lang/rust compiler from ports. FreeBSD 12.4-RELEASE-p7 FreeBSD 12.4-RELEASE-p7 releng/12.4-n235836-69dcabf10d54 amd64 Please explain me, what is wrong? error: linking with `cc` failed: exit status: 1 = note: LC_ALL="C"...
  3. rafael_grether

    Solved lang/rust - Poudriere build - OOM Killer

    Hello folks, I'm absolutely done with lang/rust! lang/rust cannot be build on a medium machine (Intel Xeon Platinum 8259CL @ 2.5 GHz with 8Gb RAM + 8 Gb Swap), and after almost 5 hours building, gets OOM: pid 17504 (rustc), jid 117, uid 0, was killed: failed to reclaim memory pid 44305...
  4. M

    Poudriere insists on building lang/rust with just 1 job

    Hi, I am building packages with Poudriere on a hw.ncpu=24 machine and so far everything has been great in terms of parallelization. Up until it started bulding lang/rust. Processes spawned by poudriere bulk explicitly have --jobs=1 and -j 1 in them. It is going to take forever. Any ideas why...
  5. nerozero

    Solved Poudriere -> rust 5 hour build failed, 8GB ram + 8GB Swap is not enough to build rust....

    Hello, 5 hour build marathon - ended up like this: In /var/log/messages: May 27 17:33:15 backup kernel: swp_pager_getswapspace(10): failed May 27 17:57:08 backup kernel: swp_pager_getswapspace(29): failed May 27 22:29:30 backup kernel: swap_pager: out of swap space Now the question...
  6. nerozero

    Updating ports start pulling and building RUST without any reason

    Hi there, today I found that portmaster took too much time updating my port. After inspection I have found that I got lang/rust installed. Which I never asked for. pkg delete rust - passed without listing any depending port.... Is it possible to find which port requested lang/rust...
  7. D

    what we can do with rust is beyond what we can imagine

    Hello when I mentioned that rust can give us a good programming base I said in the way we can implement things, I see the FreeBSD kernel code for example is something very simple and something that can, if written easily. maybe you guys don't like a new idea, but i had a good idea and i need...
  8. T

    Other Cross Compiling Rust from Windows To FreeBSD

    I'm trying to cross compile Rust from Windows to FreeBSD. I am running into this when I add [target.x86_64-unknown-freebsd] linker = "rust-lld" to my config (searching online led me to believe rust-lld is a cross compiler I could use for this) led to = note: rust-lld: error: unable to...
  9. Spity

    How create binary from ports?

    I installed librsvg2 -2.50 from ports. How can I create a binary and use it in a clean install and not wait 2 hours for compilation?
  10. H

    Other Rust-Lang and C\C++.

    Hello, Is it true that Rust-Lang is a replacement to C\C++? What is the plan of FreeBSD about it? Is it possible that FreeBSD rewritten in Rust-Lang? Thank you.
  11. pcoppock1

    Compiling a Rust Kernel Module

    As part of an undergraduate project at the Georgia Institute of Technology I am attempting to compile a basic kernel module in Rust. I found this GitHub repository: https://github.com/johalun/echo, but the code is three years old, and I ran into an error I don't know how to fix. Since then...
  12. mehrdaddolatkhah

    Fresh User from Linux To FreeBSD Need Help

    Hey Guys, Freshly I start use FreeBSD, actually I dive on FreeBSD :D I need some software for android , kotlin and rust development, and a good virtualization package like virtualbox and genymotion on linux (I have some project that i must ready system for development ASAP), and some reference...
  13. T

    Solved rust-nightly and cargo

    There is lang/rust-nightly and there is devel/cargo. I am building those via poudriere, however cargo seems to always be built with the non-nightly version of cargo. Is there currently a way to get cargo running with rust-nightly via the ports? I would have expected for something like...
  14. T

    Rust packages

    Hi, I'd like to create some rust ports. My major hurdle is that there is no ports/Mk/Uses/rust.mk yet and while I am eager to learn stuff my Rust, Porting, Makefile, etc. skills are below what's needed for that. I'd love to add ripgrep, as it is essentially working (compiling, etc.) out of the...
Back
Top