Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion rust/src/cache/rbs_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ impl RbsCache {
if let Some(bundled_path) = Self::bundled_cache_path() {
if let Ok(bytes) = fs::read(&bundled_path) {
if let Ok(cache) = bincode::deserialize::<Self>(&bytes) {
eprintln!("Loaded bundled cache from {}", bundled_path.display());
return Ok(cache);
}
}
Expand Down
1 change: 0 additions & 1 deletion rust/src/checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ fn load_rbs_from_cache(genv: &mut GlobalEnv) -> Result<()> {
)?;

let methods = cache.methods();
eprintln!("Loaded {} methods from cache", methods.len());

for method_info in methods {
let receiver_type = Type::Instance {
Expand Down
1 change: 0 additions & 1 deletion rust/src/rbs/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ pub fn register_rbs_methods(genv: &mut GlobalEnv, ruby: &Ruby) -> Result<usize,
// Try to load from cache
let methods = if let Ok(cache) = RbsCache::load() {
if cache.is_valid(methodray_version, &rbs_version) {
eprintln!("Loaded {} methods from cache", cache.methods.len());
cache.to_method_infos()
} else {
eprintln!("Cache invalid, reloading from RBS...");
Expand Down