Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use async_trait::async_trait;
|
||||
|
||||
use crate::dagger_middleware::DaggerMiddleware;
|
||||
@@ -95,8 +97,8 @@ pub trait MoldActionExt {
|
||||
|
||||
impl MoldActionExt for RustService {
|
||||
fn with_mold(&mut self, version: impl Into<String>) -> &mut Self {
|
||||
self.with_stage(super::RustServiceStage::AfterDeps(
|
||||
Box::new(MoldInstall::new(self.get_arch(), self.get_os(), version))
|
||||
))
|
||||
self.with_stage(super::RustServiceStage::AfterDeps(Arc::new(
|
||||
MoldInstall::new(self.get_arch(), self.get_os(), version),
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user