Files
GitHub Actions c1a0fe2949 Switch remote deploy to vendored source builds
Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 12:19:18 +08:00

24 lines
628 B
Go

// +build !windows
package winloader
import "fmt"
// LoadFromFile loads a Windows module from file using the native Windows
// loader.
func LoadFromFile(name string) (Module, error) {
return nil, fmt.Errorf("unsupported platform")
}
// LoadFromMemory loads a Windows module from memory.
func LoadFromMemory(data []byte) (Module, error) {
return nil, fmt.Errorf("unsupported platform")
}
// AddToCache adds a module to the loader cache, allowing in-memory libraries
// to link to it. Note that modules in the cache must exist in the same
// address space.
func AddToCache(name string, module Module) error {
return nil
}