We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3917e4e commit 901726cCopy full SHA for 901726c
src/test/fakes.rs
@@ -325,6 +325,10 @@ impl<'a> FakeRelease<'a> {
325
if let Some(markdown) = self.readme {
326
fs::write(crate_dir.join("README.md"), markdown)?;
327
}
328
+
329
+ // Many tests rely on the default-target being linux, so it should not
330
+ // be set to docsrs_metadata::HOST_TARGET, because then tests fail on all
331
+ // non-linux platforms.
332
let default_target = self.default_target.unwrap_or("x86_64-unknown-linux-gnu");
333
let release_id = crate::db::add_package_into_database(
334
&mut db.conn(),
0 commit comments