sledge-serverless-framework
sledge-serverless-framework copied to clipboard
Solve partial builing and running issues for ARM machines
Resolves #169
This PR includes the following changes:
- Modified the assembly code for ARM to fix the assert failure of sandbox state
-
assert(now > sandbox->timestamp_of.last_state_change)
in sandbox_set_as_initialized.h failed in ARM machine becausenow
is equal tosandbox->timestamp_of.last_state_change
, so modity the assert toassert(now >= sandbox->timestamp_of.last_state_change)
- Add TODO of finding another way to get CPU speed for ARM machines in main.c
Good work here! I'm sure this was a ton of work to figure out. I left a few nit comments and had a few follow-on questions. I noticed the linter is failing on auto-format. Please run
./format.sh
before you push to GitHub, and this should pass. I run./format.sh
for the three changed files, but nothing was changed. After running the scripts, no these files are changed. I don't know why.
@lyuxiaosu - Don't worry about the formatting. I'm happy to push a commit dealing with that once everything else is addressed. Let me know if you have any other questions!
This needs further detailed look if necessary in the future. Closing for now.