Skip to content

cmd/rofl/build: Use dummy SGXS in unsafe mode#684

Open
matevz wants to merge 1 commit intomasterfrom
matevz/fix/no-localnet-sgxs
Open

cmd/rofl/build: Use dummy SGXS in unsafe mode#684
matevz wants to merge 1 commit intomasterfrom
matevz/fix/no-localnet-sgxs

Conversation

@matevz
Copy link
Member

@matevz matevz commented Feb 13, 2026

Compiling SGXS + unsafe mode does not really make sense. It also fails, if you're depending on libraries that require primitives inaccessible from SGX. Instead put a dummy .sgxs file in .orc besides .elf so the enclave metadata can still be computed.

Related: oasisprotocol/oasis-sdk#2430

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit d17d10f
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/698f46e9d456160008d5a9a9

@matevz matevz force-pushed the matevz/fix/no-localnet-sgxs branch from aca3817 to dea0166 Compare February 13, 2026 14:49
Compiling SGXS flavors of ROFLs in unsafe mode does not really make
sense. Instead put a dummy .sgxs file so the enclave metadata can
still be computed.
@matevz matevz force-pushed the matevz/fix/no-localnet-sgxs branch from dea0166 to d17d10f Compare February 13, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant