about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.c
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-05-10 19:00:51 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-05-14 17:47:39 -0700
commitc3875e8c7066b5879437b3a5b578a6665fe767f2 (patch)
tree9dd3f920694150f7eea627f82bc2cd8297c0eccd /src/rt/jemalloc/test/aligned_alloc.c
parentc30414f980eb3e8010640f6c83a5ef6f8e6ab047 (diff)
downloadrust-c3875e8c7066b5879437b3a5b578a6665fe767f2.tar.gz
rust-c3875e8c7066b5879437b3a5b578a6665fe767f2.zip
rustpkg: Implement URL-like package IDs
This patch implements package IDs like
github.com/catamorphism/test-pkg.

To support such package IDs, I changed the PkgId struct to contain
a LocalPath and a RemotePath field, where the RemotePath reflects
the actual URL and the LocalPath reflects the file name of the cached
copy. Right now, the only difference is that the local path doesn't
contain dashes, but this will change when we implement #6407.

Also, PkgIds now have a short_name field -- though the short name
can be derived from the LocalPath, I thought it was cleaner not to
call option::get() wantonly.
Diffstat (limited to 'src/rt/jemalloc/test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions