mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-22 12:26:37 +00:00
fix: restore working build configuration by removing cargo.config.toml (#206)
- Remove cargo.config.toml file that was causing build issues
- Restore .github/workflows/build.yml to working state from commit 2e9792577f
- These changes ensure the build system works correctly again
This commit is contained in:
@@ -283,7 +283,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Native/cross compilation outputs to target/${target}/release/rustfs
|
|
||||||
cd target/${{ matrix.target }}/release
|
cd target/${{ matrix.target }}/release
|
||||||
zip "../../../${PACKAGE_NAME}.zip" rustfs
|
zip "../../../${PACKAGE_NAME}.zip" rustfs
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|||||||
@@ -1,55 +0,0 @@
|
|||||||
# Copyright 2024 RustFS Team
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
# Build optimization settings
|
|
||||||
[build]
|
|
||||||
# Use all available CPU cores for parallel compilation
|
|
||||||
jobs = 0 # 0 = use all cores
|
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-musl]
|
|
||||||
# Use lld linker for faster linking
|
|
||||||
linker = "lld"
|
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-gnu]
|
|
||||||
# Use lld linker for faster linking
|
|
||||||
linker = "lld"
|
|
||||||
|
|
||||||
[target.aarch64-unknown-linux-gnu]
|
|
||||||
# Use lld linker for faster linking
|
|
||||||
linker = "lld"
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
# Optimize for size and speed
|
|
||||||
codegen-units = 1
|
|
||||||
lto = true
|
|
||||||
panic = "abort"
|
|
||||||
strip = true
|
|
||||||
debug = false
|
|
||||||
|
|
||||||
[profile.dev]
|
|
||||||
# Faster incremental builds during development
|
|
||||||
incremental = true
|
|
||||||
debug = true
|
|
||||||
|
|
||||||
[registry]
|
|
||||||
# Use sparse registry protocol for faster dependency resolution
|
|
||||||
default = "sparse+https://index.crates.io/"
|
|
||||||
|
|
||||||
[source.crates-io]
|
|
||||||
# Use sparse registry protocol
|
|
||||||
replace-with = "sparse+https://index.crates.io/"
|
|
||||||
|
|
||||||
[net]
|
|
||||||
# Use git CLI for better performance with private repos
|
|
||||||
git-fetch-with-cli = true
|
|
||||||
Reference in New Issue
Block a user