diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-06-14 15:20:21 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-07-21 09:06:09 +0000 |
commit | 3dab250b5e28dd9ad3370a2f0a642ee71a6e6474 (patch) | |
tree | 9dace2245475e568a2a32eec2fbb82edc1cef1dc /gcc/combine.cc | |
parent | 6df293b14a8bde213159bc1ce9ab3c3165d90179 (diff) | |
download | gcc-3dab250b5e28dd9ad3370a2f0a642ee71a6e6474.zip gcc-3dab250b5e28dd9ad3370a2f0a642ee71a6e6474.tar.gz gcc-3dab250b5e28dd9ad3370a2f0a642ee71a6e6474.tar.bz2 |
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/combine.cc')
0 files changed, 0 insertions, 0 deletions