Skip to content

Commit

Permalink
auto merge of #6728 : alexcrichton/rust/update-linenoise, r=Aatch
Browse files Browse the repository at this point in the history
This updates the bundled linenoise library, and explicitly builds it with UTF8 support. This way rusti correctly handles utf8 characters when doing line operations.

Closes #6681
  • Loading branch information
bors committed May 25, 2013
2 parents d930b2c + bf4d372 commit b238a08
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 20 deletions.
2 changes: 1 addition & 1 deletion mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $(foreach t,$(CFG_TARGET_TRIPLES),$(info cfg: os for $(t) is $(OSTYPE_$(t))))
# FIXME: no-omit-frame-pointer is just so that task_start_wrapper
# has a frame pointer and the stack walker can understand it. Turning off
# frame pointers everywhere is overkill
CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer
CFG_GCCISH_CFLAGS += -fno-omit-frame-pointer -DUSE_UTF8

# On Darwin, we need to run dsymutil so the debugging information ends
# up in the right place. On other platforms, it automatically gets
Expand Down
Loading

0 comments on commit b238a08

Please sign in to comment.