Skip to content

Commit

Permalink
ci: remove grcov from rust nightly nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
metaclips committed Aug 31, 2024
1 parent 45f88fe commit e017630
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/rust/file_transfer/examples/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Worker for FileReception {
async fn handle_message(&mut self, ctx: &mut Context, msg: Routed<Self::Message>) -> Result<()> {
match msg.into_body()? {
FileData::Description(desc) => {
self.name = desc.name.clone();
self.name.clone_from(&desc.name);
self.size = desc.size;
self.file = Some(
OpenOptions::new()
Expand Down
3 changes: 0 additions & 3 deletions implementations/rust/ockam/ockam_api/src/nodes/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ impl SecureChannelInfo {
}
}

#[derive(Default, Clone)]
pub(crate) struct OktaIdentityProviderServiceInfo {}

#[derive(Default, Clone)]
pub(crate) struct UppercaseServiceInfo {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl AppState {
.await
{
enabled = state.enabled;
name = state.name.clone();
name.clone_from(&state.name);
}

let original_name = match service_access_details.service_name() {
Expand All @@ -137,7 +137,7 @@ impl AppState {

let project = if let Some(project) = ticket.project.as_mut() {
// to avoid conflicts with 'default' name
project.name = project.id.clone();
project.name.clone_from(&project.id);
project
} else {
warn!("No project found in enrollment ticket");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl CommonStateMachine {
None => None,
};

self.presented_credential = credential.clone();
self.presented_credential.clone_from(&credential);
let credentials = credential.map(|c| vec![c]).unwrap_or(vec![]);

let payload = IdentityAndCredentials {
Expand Down
4 changes: 1 addition & 3 deletions tools/nix/parts/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ in {

devTools = cargoPlugins ++ lib.optional cfg.rustAnalyzer pkgs.rust-analyzer;

nightlyTooling = with pkgs; [
grcov
];
nightlyTooling = with pkgs; [];

sharedInputs = compilerTools ++ nativeLibs ++ devTools;

Expand Down

0 comments on commit e017630

Please sign in to comment.