Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions embuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def main():
help='build relocatable objects for suitable for dynamic linking')
parser.add_argument('--force', action='store_true',
help='force rebuild of target (by removing it first)')
parser.add_argument('--wasm64', action='store_true',
help='use wasm64 architecture')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI tools/gen_struct_info.py will need the exact same command line argument I think

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

parser.add_argument('operation', help='currently only "build" is supported')
parser.add_argument('targets', nargs='+', help='see below')
args = parser.parse_args()
Expand All @@ -147,6 +149,9 @@ def main():
if args.pic:
settings.RELOCATABLE = 1

if args.wasm64:
settings.MEMORY64 = 2

if args.force:
force = True

Expand Down