GNU bug report logs -
#27412
[PATCH] gnu: rustc: Enable tests.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Danny Milosavljevic <dannym <at> scratchpost.org> writes:
> * gnu/packages/rust.scm (rustc)[source]: Remove bundled llvm.
> [native-inputs]: Add bison, flex, procps.
> [inputs]: Update llvm to llvm-3.9.1.
> [arguments]: Patch and enable tests.
Great!
[...]
> @@ -254,7 +262,18 @@ rustc-bootstrap and cargo-bootstrap packages.")
> (substitute* "src/tools/tidy/src/main.rs"
> (("^.*cargo.*::check.*$") ""))
> (substitute* "src/libstd/process.rs"
> - (("\"/bin/sh\"") (string-append "\"" bash "/bin/sh\"")))
> + ;; The newline is intentional.
> + ;; There's a line length "tidy" check in Rust which would
> + ;; fail otherwise.
> + (("\"/bin/sh\"") (string-append "
> +\"" bash "/bin/sh\"")))
Can you use '\n' instead?
> + (substitute* "src/libstd/sys/unix/process/process_common.rs"
> + (("fn test_process_mask") "#[cfg_attr(target_os = \"linux\", ignore)]
> +fn test_process_mask"))
I'm guessing this is disabled due to some build container oddity?
> + (substitute* "src/vendor/libc/src/lib.rs"
> + (("TODO") "TXDO"))
A comment about this would be nice.
> + ;; Our ld-wrapper cannot process non-UTF8 bytes in LIBRARY_PATH.
> + (delete-file-recursively "src/test/run-make/linker-output-non-utf8")
This is temporary, right? Maybe add the guix-devel URL?
LGTM!
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 8 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.