aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-14 15:20:21 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:58 +0100
commite3360d2ba200e334a320cb8d49257e084b4e5233 (patch)
treead215e776247138a1b6a8371772e1ac305be2f36 /gcc/rust/hir/tree/rust-hir-expr.h
parent7e74b450d24074519c8c93dc55c507931b329c5a (diff)
downloadgcc-e3360d2ba200e334a320cb8d49257e084b4e5233.zip
gcc-e3360d2ba200e334a320cb8d49257e084b4e5233.tar.gz
gcc-e3360d2ba200e334a320cb8d49257e084b4e5233.tar.bz2
gccrs: import: Add cli extern crate resolution
This commit add the ability to specify the path to an extern crate through the -frust-extern cli option. Path given as cli argument shall resolve to the exact extern crate location. gcc/rust/ChangeLog: * metadata/rust-imports.h: Make the function to load a given file public. * rust-session-manager.cc (Session::load_extern_crate): Change path resolution depending on extern crate declaration in cli arguments. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions