mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: make rclone build with wasip1/wasm as well as js/wasm
Fixes #7831
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//go:build !wasm
|
||||
|
||||
// Package protondrive implements the Proton Drive backend
|
||||
package protondrive
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build !wasm
|
||||
|
||||
package protondrive_test
|
||||
|
||||
import (
|
||||
|
||||
7
backend/protondrive/protondrive_unsupported.go
Normal file
7
backend/protondrive/protondrive_unsupported.go
Normal file
@@ -0,0 +1,7 @@
|
||||
// Build for sftp for unsupported platforms to stop go complaining
|
||||
// about "no buildable Go source files "
|
||||
|
||||
//go:build wasm
|
||||
|
||||
// Package protondrive implements the Proton Drive backend
|
||||
package protondrive
|
||||
Reference in New Issue
Block a user