Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2019-12-06 15:03:29 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2020-02-24 14:56:28 -0500
commite4e0089815517502f861d196e8a4ed187cbd57ab (patch)
treec74c5bf02b2b6683345511b5d7073104c366547b /tamer/src/ld/poc.rs
parent593faa3491713b2008946284632a6baa7e5ed481 (diff)
downloadtame-e4e0089815517502f861d196e8a4ed187cbd57ab.tar.gz
tame-e4e0089815517502f861d196e8a4ed187cbd57ab.tar.bz2
tame-e4e0089815517502f861d196e8a4ed187cbd57ab.zip
TAMER: Initial string interning abstraction
This is missing two key things that I'll add shortly: a HashMap-based one for use in the ASG for node mapping, and an entry-based system for manipulations. This has been a nice start for exploring various aspects of Rust development, as well as conventions that I'd like to implement. In particular: - Robust documentation intended to guide people through learning the necessary material about the compiler, as well as related work to rationalize design decisions; - Benchmarks; - TDD; - And just getting used to Rust in general. I've beat this one to death, so I'll commit this and make smaller changes going forward to show how easily it can evolve. (This module was originally named `intern` but this commit and those that follow rewrote it to `sym`.)
Diffstat (limited to 'tamer/src/ld/poc.rs')
-rw-r--r--tamer/src/ld/poc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tamer/src/ld/poc.rs b/tamer/src/ld/poc.rs
index d2b3fcd..d7f9733 100644
--- a/tamer/src/ld/poc.rs
+++ b/tamer/src/ld/poc.rs
@@ -446,7 +446,7 @@ fn discover_roots(depgraph: &DepGraph) -> Vec<SymRef> {
}
#[cfg(test)]
-mod tests {
+mod test {
#[test]
fn placeholder() {}
}