wormhole-foundation / wormhole-scaffolding

Starter apps with Wormhole integration
Other
47 stars 30 forks source link

Add config.toml in cargo config to provide path to program id file #63

Closed barnjamin closed 1 year ago

barnjamin commented 1 year ago

The env! macro in each Solana program's lib.rs meant to read in the program id file complains:

image

Adding a .cargo/config.toml with the path to the bin gives the env macro something to look at.