summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-09-13 00:37:15 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-09-13 10:10:49 +0200
commitbfdc0e4d456c51c812ac06a8008de5cc90073654 (patch)
treee2189a74d3f76c9838d3369347e693b7eeb8f6e0 /gnu/packages
parent333c0ca9661b8285ac49eed881e75c523317d5df (diff)
downloadguix-bfdc0e4d456c51c812ac06a8008de5cc90073654.tar.gz
gnu: rust: Move "cc" from rust-bootstrap to rust proper.
* gnu/packages/rust.scm (rust-bootstrap)[arguments]<#:phases>[install]:
Delete "cc".
(rust-1.23)[arguments]<#:phases>: Delete "provide-cc" deletion.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rust.scm6
1 files changed, 0 insertions, 6 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e84e58a30f..634dbf8bde 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -143,11 +143,6 @@
                (for-each (lambda (file)
                            (invoke "patchelf" "--set-interpreter" ld-so file))
                          (list rustc rustdoc cargo))
-               ;; Rust requires a C toolchain for linking. The prebuilt
-               ;; binaries expect a compiler called cc. Thus symlink gcc
-               ;; to cc.
-               (symlink (string-append gcc "/bin/gcc")
-                        (string-append out "/bin/cc"))
                #t))))))
     (home-page "https://www.rust-lang.org")
     (synopsis "Prebuilt rust compiler and cargo package manager")
@@ -636,7 +631,6 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
      (substitute-keyword-arguments (package-arguments rust-1.20)
        ((#:phases phases)
         `(modify-phases ,phases
-           (delete 'provide-cc)
            (delete 'configure-archiver)
            (add-after 'unpack 'dont-build-native
              (lambda _