Skip to content

Commit e04f488

Browse files
committed
fix: add build to solvedPackage type
1 parent 3887e86 commit e04f488

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js-rattler/crate/solve.rs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use crate::error::JsError;
1313
pub struct SolvedPackage {
1414
pub url: String,
1515
pub package_name: String,
16+
pub build: String,
1617
pub build_number: u64,
1718
pub repo_name: Option<String>,
1819
pub filename: String,
@@ -74,6 +75,7 @@ pub async fn simple_solve(
7475
.map(|r| SolvedPackage {
7576
url: r.url.to_string(),
7677
package_name: r.package_record.name.as_source().to_string(),
78+
build: r.package_record.build.clone(),
7779
build_number: r.package_record.build_number,
7880
repo_name: r.channel,
7981
filename: r.file_name,

0 commit comments

Comments
 (0)