Skip to content

Cache rmeta files whenever metadata is present in emit.#441

Merged
chmanchester merged 1 commit intomozilla:masterfrom
chmanchester:cache_metas
May 31, 2019
Merged

Cache rmeta files whenever metadata is present in emit.#441
chmanchester merged 1 commit intomozilla:masterfrom
chmanchester:cache_metas

Conversation

@chmanchester
Copy link
Copy Markdown
Contributor

Fixes #436, Fixes #429

crate_name: crate_name.to_string(),
dep_info: dep_info.map(|s| s.into()),
rename_rlib_to_rmeta,
emit: emit,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
emit: emit,
emit,

// be fixed.
if !outputs.contains(&rmeta) {
outputs.push(rmeta);
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
};
}

};
if !emit.contains("link") {
outputs.retain(|p| *p != lib);
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
};
}

Copy link
Copy Markdown
Contributor

@luser luser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable!

@chmanchester chmanchester merged commit 806ce30 into mozilla:master May 31, 2019
@theduke
Copy link
Copy Markdown

theduke commented Jun 5, 2019

@chmanchester Thanks, this was driving me crazy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unconditionally rebuilds all deps on rust nightly Fail to build after new rustc pipelining compilation feature

3 participants