ksqsf

Results 59 comments of ksqsf

I can confirm that the RAM consumption keeps growing for a while, until I call `(garbage-collect)` manually. Some time later, the RAM consumption grows again. I suspect this is due...

racer 2.0.14. Still affected. A simple workaround is as follows in case anybody reaches here. ``` cd ~/.cargo/registry/src ln -s mirrors.ustc.edu.cn-* github.com- ```

Hey, any progress on this?

I checked Emacs's build scripts, and it seems that it should have taken care of this by using `install-info`. I'm not sure what went wrong.

``` (defun -treemacs-add-project-to-workspace-or-switch () "Add the current project to the default workspace, or locate it if it's already known in a workspace. The default workspace is specificied by `prelude-treemacs-default-workspace'" (let...

Maybe `create` and `remove`? I think something like `with-treemacs-workspace` can be helpful too.

To fix it: configure.ac ``` LDFLAGS_REMACS="-L`(cd rust_src && cargo metadata --format-version=1 | jq -r .target_directory)`/\${CARGO_BUILD_DIR}" ``` lib-src/Makefile.in ``` RUST_ARCHIVE = `(cd ../rust_src && cargo metadata --format-version=1 | jq -r .target_directory)`/$(CARGO_BUILD_DIR)/$(REMACSLIB_NAME)...

My comment above uses `cargo metadata` which is handled by cargo itself, so this should be the expected solution. I don't know how to reliably and portably extract the `target_directory`...

* https://github.com/remacs/remacs/blob/master/configure.ac#L5120 * https://github.com/remacs/remacs/blob/master/lib-src/Makefile.in#L196 The target dir is hardcoded to be toplevel/rust_src/target. This leads to the very compilation error I encountered. So it's like, cargo places the archive at `~/.cache/cargo/release/libwhatever.a`...