pub fn resolve_include_path(from_file: &str, include_path: &str) -> StringExpand description
Resolve an INCLUDE path relative to the including file’s directory.
Uses string-based path manipulation (rfind('/')) rather than
std::path::Path to avoid platform-specific separator issues and
to work in WASM contexts. The joined path is normalized so ./..
segments collapse to a clean project-relative key (e.g.
a/b/../d.ink → a/d.ink) — consistent across the compiler, runtime,
and IDE so upward-relative includes resolve to real files.