Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix win build (apart from golem bin) #1237

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ use golem_common::model::{
use golem_wasm_ast::analysis::AnalysedExport;
use serde::Serialize;
use std::collections::HashMap;
use std::{
os::unix::fs::MetadataExt,
path::{Path, PathBuf},
};
use std::path::{Path, PathBuf};
use tonic::transport::Channel;
use tracing::{debug, info};
use uuid::Uuid;
Expand Down Expand Up @@ -94,7 +91,7 @@ impl FileSystemComponentService {
let size = tokio::fs::metadata(&target_path)
.await
.map_err(|e| AddComponentError::Other(format!("Failed to read component size: {}", e)))?
.size();
.len();

let metadata = ComponentMetadata {
version: component_version,
Expand Down
Loading