Skip to content

unable to build the example on OSX M4 #171

@vincenzopalazzo

Description

@vincenzopalazzo

While I am trying to build the example I am getting the following errors

# github.com/lightsparkdev/lightspark-crypto-uniffi/lightspark-crypto-go/internal
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:37:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:41:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:45:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:49:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:54:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:61:10: cannot define new methods on non-local type RustBuffer
➜  remote-signing-server git:(main) go vet  
# github.com/lightsparkdev/lightspark-crypto-uniffi/lightspark-crypto-go/internal
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:37:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:41:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:45:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:49:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:54:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:61:10: cannot define new methods on non-local type RustBuffer
➜  remote-signing-server git:(main) git log                                          
➜  remote-signing-server git:(main) cd ..                   
➜  examples git:(main) cd remote-signing-server 
➜  remote-signing-server git:(main) cd ..                   
➜  examples git:(main) cd lnurl-server 
➜  lnurl-server git:(main) go build
# github.com/lightsparkdev/lightspark-crypto-uniffi/lightspark-crypto-go/internal
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:37:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:41:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:45:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:49:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:54:10: cannot define new methods on non-local type RustBuffer
../../../../../../../go/pkg/mod/github.com/lightsparkdev/lightspark-crypto-uniffi/[email protected]/internal/lightspark_crypto.go:61:10: cannot define new methods on non-local type RustBuffer
➜  lnurl-server git:(main) 

any idea?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions