BERTRAND Joël a écrit :
> Frank-Rainer Grahl a écrit :
>> Best to install an additional rust version. 1.36 is tested.
>>
>>
>> rustup toolchain list should list the installed ones and
>>
>> rustup  toolchain install 1.36-<your architecture> installs a second one.
>>
>> Can be used with
>>
>> rustup default 1.36.0-<your architecture>
>>
>       Only rust 1.38 is available in ports. Thus, I have tried to build rust
> 1.36 (and 1.37) from sources.

        Rust installation fails on FreeBSD, but I have modified
build/mozconfig.rust :

oot@pythagore:~/seamonkey/seamonkey-2.53.1b1 # cat build/mozconfig.rust
# Options to enable rust in automation builds.

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

# Tell configure to use the tooltool rustc.
#RUSTC="$TOOLTOOL_DIR/rustc/bin/rustc"
RUSTC=/root/seamonkey/rust/build/x86_64-unknown-freebsd/stage2/bin/rustc
CARGO="$TOOLTOOL_DIR/rustc/bin/cargo"


ac_add_options --enable-rust-simd

and rust source files are built without error.

        Some cpp files cannot be compiled as WEBRTC_POSIX and
WEBRTC_BUILD_LIBEVENT are not set. I have set both defines in several
headers but I suspect FreeBSD is not correctly defined to set these values.

        Best regards,

        JKB
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to