Home
last modified time | relevance | path

Searched refs:rustc_sysroot (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/scripts/
H A Drust_is_available.sh256 rustc_sysroot=$("$RUSTC" $KRUSTFLAGS --print sysroot)
257 rustc_src=${RUST_LIB_SRC:-"$rustc_sysroot/lib/rustlib/src/rust/library"}
/openbmc/linux/rust/
H A DMakefile43 rustc_sysroot := $(shell $(RUSTC) $(rust_flags) --print sysroot) macro
45 RUST_LIB_SRC ?= $(rustc_sysroot)/lib/rustlib/src/rust/library
237 cp -a $(rustc_sysroot) $(objtree)/$(obj)/test/sysroot; \
240 echo '\#!/bin/sh' > $(objtree)/$(obj)/test/rustc_sysroot; \
242 >> $(objtree)/$(obj)/test/rustc_sysroot; \
243 chmod u+x $(objtree)/$(obj)/test/rustc_sysroot; \
245 RUSTC=$(objtree)/$(obj)/test/rustc_sysroot $(CARGO) $(cargo_quiet) \