Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2020-04-07 10:49:21 -0400
committerMike Gerwitz <mike.gerwitz@ryansg.com>2020-04-28 09:06:25 -0400
commitc94120335f50dcf166fd38479b25bea1d00dc870 (patch)
tree61b7dc64bf10fc520251e483a817eaedc937f9fb
parentda6911859292473c188f1a91d3864addd77e4e47 (diff)
downloadtame-c94120335f50dcf166fd38479b25bea1d00dc870.tar.gz
tame-c94120335f50dcf166fd38479b25bea1d00dc870.tar.bz2
tame-c94120335f50dcf166fd38479b25bea1d00dc870.zip
[DEV-7084] TAMER: ld::poc: Remove unnecessary initial path canonicalization
Less to refactor and test.
-rw-r--r--tamer/src/ld/poc.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tamer/src/ld/poc.rs b/tamer/src/ld/poc.rs
index e924632..cb200b3 100644
--- a/tamer/src/ld/poc.rs
+++ b/tamer/src/ld/poc.rs
@@ -49,10 +49,8 @@ pub fn main(package_path: &str, output: &str) -> Result<(), Box<dyn Error>> {
let mut depgraph = LinkerAsg::with_capacity(65536, 65536);
let interner = DefaultInterner::new();
- let abs_path = fs::canonicalize(package_path)?;
-
let state = load_xmlo(
- &abs_path.to_str().unwrap().to_string(),
+ package_path,
&mut fs,
&mut fragments,
&mut depgraph,