Set IDRIS_ENABLE_STATS in config.mk instead of in idris_stats.h. stats are not supported on Arduino. Also make sure that when IDRIS_ENABLE_STATS is not set, the idris_stats.h does not pull in time.h as this header is not available on the Arduino platform.
If EXIT_SUCCESS and EXIT_FAILURE are not defined (as is the case on Arduino), explicitly define them using standard values (EXIT_SUCCESS == 0, EXIT_FAILURE == 1). In the long term the RTS should be modified to not call exit directly at all since it does not make sense on embedded platforms. The calls to exit(EXIT_SUCCESS) and exit(EXIT_FAILURE). Should be replaced by macros that do something sensible on the platform.
Added rts/arudino/idris_main.c. It is similar to the standard idris_main.c except it does not attempt to handle argv/argc and it also calls the Arduino init() function.

Additionally, all the rts .c files are now included in the data-files section of the idris.cabal file. When using Idris to cross-compile, we need to recompile the RTS for the target platform. We do not know what platforms might be targeted in advance, so we need to have all the RTS source files available at compile time.
Merge remote-tracking branch 'upstream/master' into fix/master/arduino
Support uniqueness types when executing IO actions in REPL
Add test for basic REPL commands
Fix for language-java 0.2.7
Merge pull request #1511 from tac-tics/basic-repl-test

Add test for basic REPL commands
Merge pull request #1510 from soimort/uniqueness-execute

Support uniqueness types when executing IO actions in REPL
Install newer alex from Hackage for tests
Merge branch 'RyanGlScott-master'
Merge remote-tracking branch 'upstream/master'
Fix typo in help message (language extension)
Merge pull request #1522 from soimort/patch-typo-fix

Fix typo in help message
Use exact name lookup when building from ibc
Merge pull request #1523 from edwinb/ibc-fix

Use exact name lookup when building from ibc
Add annotations for :search result classification
Add upper bounds to cabal package dependencies.
Merge pull request #1525 from bmsherman/searchAnnotation

Add annotations for :search result classification
Remove Cabal library dependency and add more upper bounds