-
Notifications
You must be signed in to change notification settings - Fork 688
Fix ESP8266 build #1103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ESP8266 build #1103
Conversation
|
Though this is just a build fix, it fails to run in the target board for some reason that needs investigation. I'll work on this after this PR lands. |
targets/esp8266/source/jerry_run.c
Outdated
| { | ||
| ret_code = jerry_run (); | ||
| jerry_api_value_t res; | ||
| ret_code = jerry_run (&res); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jerry_api_release_value should be called if jerry_run failes. The parameter of jerry_run is for error value not for result, so the name of the variable is misleading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it. thanks.
b355caa to
5771e6e
Compare
|
LGTM |
1 similar comment
|
LGTM |
|
@seanshpark, please rebase to the current master, so we can land your PR. |
5771e6e to
7c8db7e
Compare
|
Done rebase, thank you. |
|
We have already spent a lot of time reproducing this issue, but no luck so far. It only appears on travis arm build. I submitted another patch, and it disappeared. |
This change is to fix build for ESP8266 board with jerry_api_value_t changes. JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
7c8db7e to
ed2a360
Compare
|
Thank you, rebase and merged. |
This change is to fix build for ESP8266 board with jerry_api_value_t changes.
JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com