Linker set via --default-linker when configuring not handled?

Hi!

I'm trying to package Rust for Guix, GNU transactional package manager. When building a package in a Guix environment, "cc" is not available. I thought that an alternative could be provided using the "--default-linker" option of the ./configure script, but the build still fails with a " could not exec the linker cc" error message. So, I ended up using a wrapper script around gcc named "cc".

Is this the intended behavior? I'm also confused by this issue stating the documentation should inform about the need for cc.

Help welcomed.