Skip to content

Commit 3917e4e

Browse files
committed
set default target to linux for tests so we can run the tests on non-linux machines
1 parent 4c80a04 commit 3917e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fakes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ impl<'a> FakeRelease<'a> {
325325
if let Some(markdown) = self.readme {
326326
fs::write(crate_dir.join("README.md"), markdown)?;
327327
}
328-
let default_target = self.default_target.unwrap_or(docsrs_metadata::HOST_TARGET);
328+
let default_target = self.default_target.unwrap_or("x86_64-unknown-linux-gnu");
329329
let release_id = crate::db::add_package_into_database(
330330
&mut db.conn(),
331331
&package,

0 commit comments

Comments
 (0)