Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 0 additions & 20 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,6 @@ updates:
- "automated"
- "performance"

- package-ecosystem: "cargo"
directory: "/tools/file_operations_component"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
open-pull-requests-limit: 10
reviewers:
- "avrabe"
assignees:
- "avrabe"
commit-message:
prefix: "rust/file-ops"
include: "scope"
labels:
- "dependencies"
- "rust"
- "automated"
- "wasm"

- package-ecosystem: "cargo"
directory: "/tools-builder/toolchains"
schedule:
Expand Down
15 changes: 8 additions & 7 deletions test/dual_implementation/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,29 @@ load("//toolchains:dual_file_ops_toolchain.bzl", "dual_file_ops_toolchain")
package(default_visibility = ["//visibility:public"])

# Test dual toolchain with actual components
# Uses Go-based file_ops for both implementations (production pattern)
dual_file_ops_toolchain(
name = "test_dual_toolchain",
implementation_preference = "auto",
rust_component = "//tools/file_operations_component:file_ops", # Actual Rust implementation
tinygo_component = "//tools/file_operations_component:file_ops", # Current Rust implementation as mock TinyGo
wit_files = ["//tools/file_operations_component:wit_files"],
rust_component = "//tools/file_ops:file_ops",
tinygo_component = "//tools/file_ops:file_ops",
wit_files = ["//tools/file_ops:wit_files"],
)

# Test security-focused configuration
dual_file_ops_toolchain(
name = "test_security_toolchain",
implementation_preference = "tinygo",
tinygo_component = "//tools/file_operations_component:file_ops",
wit_files = ["//tools/file_operations_component:wit_files"],
tinygo_component = "//tools/file_ops:file_ops",
wit_files = ["//tools/file_ops:wit_files"],
)

# Test performance-focused configuration
dual_file_ops_toolchain(
name = "test_performance_toolchain",
implementation_preference = "rust",
rust_component = "//tools/file_operations_component:file_ops",
wit_files = ["//tools/file_operations_component:wit_files"],
rust_component = "//tools/file_ops:file_ops",
wit_files = ["//tools/file_ops:wit_files"],
)

# Build tests to verify toolchain configurations
Expand Down
4 changes: 2 additions & 2 deletions toolchains/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ bzl_library(
file_ops_toolchain(
name = "file_ops_toolchain_impl",
file_ops_component = "//tools/file_ops:file_ops",
wit_files = ["//tools/file_operations_component:wit_files"],
wit_files = ["//tools/file_ops:wit_files"],
)

toolchain(
Expand All @@ -215,7 +215,7 @@ toolchain(
file_ops_toolchain(
name = "file_ops_toolchain_external_impl",
file_ops_component = "//tools/file_ops_external:file_ops_external",
wit_files = ["//tools/file_operations_component:wit_files"],
wit_files = ["//tools/file_ops:wit_files"],
)

toolchain(
Expand Down
2 changes: 1 addition & 1 deletion toolchains/file_ops_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ load("@rules_wasm_component//toolchains:file_ops_toolchain.bzl", "file_ops_toolc
file_ops_toolchain(
name = "file_ops_toolchain_impl",
file_ops_component = "@rules_wasm_component//tools/file_ops:file_ops",
wit_files = ["@rules_wasm_component//tools/file_operations_component:wit_files"],
wit_files = ["@rules_wasm_component//tools/file_ops:wit_files"],
visibility = ["//visibility:public"],
)

Expand Down
54 changes: 0 additions & 54 deletions tools/file_operations_component/BUILD.bazel

This file was deleted.

26 changes: 0 additions & 26 deletions tools/file_operations_component/Cargo.toml

This file was deleted.

Loading