mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
fix: last hardcoded "platform" in file.rs
This commit is contained in:
parent
7fabb04518
commit
b130f86fdf
1 changed files with 2 additions and 8 deletions
|
@ -1868,13 +1868,7 @@ fn load_pkg_config<'a>(
|
|||
) -> Result<Msg<'a>, LoadingProblem> {
|
||||
let module_start_time = SystemTime::now();
|
||||
|
||||
let mut filename = PathBuf::from(src_dir);
|
||||
|
||||
filename.push("platform");
|
||||
filename.push(PKG_CONFIG_FILE_NAME);
|
||||
|
||||
// End with .roc
|
||||
filename.set_extension(ROC_FILE_EXTENSION);
|
||||
let filename = PathBuf::from(src_dir);
|
||||
|
||||
let file_io_start = SystemTime::now();
|
||||
let file = fs::read(&filename);
|
||||
|
@ -2081,7 +2075,7 @@ fn parse_header<'a>(
|
|||
if pkg_config_roc.as_path().exists() {
|
||||
let load_pkg_config_msg = load_pkg_config(
|
||||
arena,
|
||||
&pkg_config_dir,
|
||||
&pkg_config_roc,
|
||||
shorthand,
|
||||
module_ids,
|
||||
package_module_ids,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue